summaryrefslogtreecommitdiffstats
path: root/test cases/common/178 bothlibraries/mylib.h
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/178 bothlibraries/mylib.h')
-rw-r--r--test cases/common/178 bothlibraries/mylib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/test cases/common/178 bothlibraries/mylib.h b/test cases/common/178 bothlibraries/mylib.h
new file mode 100644
index 0000000..1038a01
--- /dev/null
+++ b/test cases/common/178 bothlibraries/mylib.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#ifdef _WIN32
+ #ifdef STATIC_COMPILATION
+ #define DO_IMPORT extern
+ #else
+ #define DO_IMPORT __declspec(dllimport)
+ #endif
+ #define DO_EXPORT __declspec(dllexport)
+#else
+ #define DO_IMPORT extern
+ #define DO_EXPORT
+#endif