summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/import.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-compat/import.hpp')
-rw-r--r--opentrack-compat/import.hpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/opentrack-compat/import.hpp b/opentrack-compat/import.hpp
index 3747b141..1b4aa8f1 100644
--- a/opentrack-compat/import.hpp
+++ b/opentrack-compat/import.hpp
@@ -1,15 +1,13 @@
#pragma once
-#ifndef OPENTRACK_EXPORT
-# ifdef _WIN32
-# define OPENTRACK_LINKAGE __declspec(dllimport)
-# else
-# define OPENTRACK_LINKAGE
-# endif
+#ifdef _WIN32
+# define OPENTRACK_LINKAGE __declspec(dllimport)
+#else
+# define OPENTRACK_LINKAGE
+#endif
-# ifndef _MSC_VER
-# define OPENTRACK_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_LINKAGE
-# else
-# define OPENTRACK_EXPORT OPENTRACK_LINKAGE
-# endif
+#ifndef _MSC_VER
+# define OPENTRACK_COMPAT_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_LINKAGE
+#else
+# define OPENTRACK_COMPAT_EXPORT OPENTRACK_LINKAGE
#endif