summaryrefslogtreecommitdiffhomepage
path: root/csv/export.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'csv/export.hpp')
-rw-r--r--csv/export.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/csv/export.hpp b/csv/export.hpp
new file mode 100644
index 00000000..506833c4
--- /dev/null
+++ b/csv/export.hpp
@@ -0,0 +1,18 @@
+#pragma once
+
+#ifdef BUILD_csv
+# ifdef _WIN32
+# define OPENTRACK_CSV_LINKAGE __declspec(dllexport)
+# else
+# define OPENTRACK_CSV_LINKAGE
+# endif
+
+# ifndef _MSC_VER
+# define OPENTRACK_CSV_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_CSV_LINKAGE
+# else
+# define OPENTRACK_CSV_EXPORT OPENTRACK_CSV_LINKAGE
+# endif
+
+#else
+# include "import.hpp"
+#endif