summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/obj1.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/install/obj1.c')
-rw-r--r--Tests/RunCMake/install/obj1.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/RunCMake/install/obj1.c b/Tests/RunCMake/install/obj1.c
index 2411aab..70007df 100644
--- a/Tests/RunCMake/install/obj1.c
+++ b/Tests/RunCMake/install/obj1.c
@@ -1,4 +1,7 @@
-int obj1(void)
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+ int obj1(void)
{
return 0;
}