summaryrefslogtreecommitdiff
path: root/Tests/SimpleInstall/lib4.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SimpleInstall/lib4.h')
-rw-r--r--Tests/SimpleInstall/lib4.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/SimpleInstall/lib4.h b/Tests/SimpleInstall/lib4.h
new file mode 100644
index 000000000..4b94ea207
--- /dev/null
+++ b/Tests/SimpleInstall/lib4.h
@@ -0,0 +1,12 @@
+#ifdef _WIN32
+# ifdef test4_EXPORTS
+# define CM_TEST_LIB_EXPORT __declspec( dllexport )
+# else
+# define CM_TEST_LIB_EXPORT __declspec( dllimport )
+# endif
+#else
+# define CM_TEST_LIB_EXPORT
+#endif
+
+CM_TEST_LIB_EXPORT float Lib4Func();
+