summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testDynload.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/testDynload.c')
-rw-r--r--Source/kwsys/testDynload.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/kwsys/testDynload.c b/Source/kwsys/testDynload.c
index fd45cc3..dcfc478 100644
--- a/Source/kwsys/testDynload.c
+++ b/Source/kwsys/testDynload.c
@@ -1,5 +1,12 @@
-int TestDynamicLoaderData;
+#ifdef _WIN32
+#error bla
+#define DL_EXPORT __declspec( dllexport )
+#else
+#define DL_EXPORT
+#endif
-void TestDynamicLoaderFunction()
+DL_EXPORT int TestDynamicLoaderData;
+
+DL_EXPORT void TestDynamicLoaderFunction()
{
}