summaryrefslogtreecommitdiffhomepage
path: root/opentrack/export.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-19 16:08:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-19 18:28:08 +0200
commitdd87370ff2818ee3c3d67ba104405b85ee44daba (patch)
treed5ebdf22aaccd0e345ce7a7c2ecb7b7193ea0791 /opentrack/export.hpp
parent7e2e341c45b86f76e08d74e056929ad76ff1a383 (diff)
decruft more
Diffstat (limited to 'opentrack/export.hpp')
-rw-r--r--opentrack/export.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/opentrack/export.hpp b/opentrack/export.hpp
new file mode 100644
index 00000000..8c8bdc69
--- /dev/null
+++ b/opentrack/export.hpp
@@ -0,0 +1,7 @@
+#pragma once
+#ifdef _WIN32
+# define OPENTRACK_LINKAGE __declspec(dllexport)
+#else
+# define OPENTRACK_LINKAGE
+#endif
+#define OPENTRACK_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_LINKAGE