summaryrefslogtreecommitdiffstats
path: root/src/Core/export.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/export.h')
-rw-r--r--src/Core/export.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Core/export.h b/src/Core/export.h
new file mode 100644
index 0000000..2ccd147
--- /dev/null
+++ b/src/Core/export.h
@@ -0,0 +1,11 @@
+#ifndef MAD_CORE_EXPORT
+# ifdef _WIN32
+# ifdef MAD_CORE_EXPORTS
+# define MAD_CORE_EXPORT _declspec(dllexport)
+# else
+# define MAD_CORE_EXPORT _declspec(dllimport)
+# endif
+# else
+# define MAD_CORE_EXPORT
+# endif
+#endif