summaryrefslogtreecommitdiffstats
path: root/Tests/Framework/foo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Framework/foo.cxx')
-rw-r--r--Tests/Framework/foo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Framework/foo.cxx b/Tests/Framework/foo.cxx
index 6980888..b249ce3 100644
--- a/Tests/Framework/foo.cxx
+++ b/Tests/Framework/foo.cxx
@@ -1,5 +1,5 @@
#include <stdio.h>
-#ifdef _WIN32
+#if defined(_WIN32) && defined(foo_EXPORTS)
# define CM_TEST_LIB_EXPORT __declspec( dllexport )
#else
# define CM_TEST_LIB_EXPORT