summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/export.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:20:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:20:15 +0200
commit45d89cfd526bf7fa3f7865f2e78f10cd9a85a2f6 (patch)
treeaed64af7cf9f2bab419b6d4e80f0dcc9dd9eb47e /facetracknoir/export.hpp
parent350edf6e5c1f253a300fd0b7db6591082558d937 (diff)
fix Linux build
Diffstat (limited to 'facetracknoir/export.hpp')
-rw-r--r--facetracknoir/export.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/facetracknoir/export.hpp b/facetracknoir/export.hpp
new file mode 100644
index 00000000..8c8bdc69
--- /dev/null
+++ b/facetracknoir/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