summaryrefslogtreecommitdiffhomepage
path: root/csv/import.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'csv/import.hpp')
-rw-r--r--csv/import.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/csv/import.hpp b/csv/import.hpp
new file mode 100644
index 00000000..5fcfdd58
--- /dev/null
+++ b/csv/import.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+#ifdef _WIN32
+# define OPENTRACK_CSV_LINKAGE __declspec(dllimport)
+#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