summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/export.hpp
diff options
context:
space:
mode:
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