diff options
-rw-r--r-- | Tests/Framework/bar.cxx | 2 | ||||
-rw-r--r-- | Tests/Framework/foo.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Tests/Framework/bar.cxx b/Tests/Framework/bar.cxx index 5c9d612..c8ddc0a 100644 --- a/Tests/Framework/bar.cxx +++ b/Tests/Framework/bar.cxx @@ -1,5 +1,7 @@ #ifdef _WIN32 # define CM_TEST_LIB_IMPORT __declspec( dllimport ) +#else +# define CM_TEST_LIB_IMPORT #endif CM_TEST_LIB_IMPORT void foo(); int main() diff --git a/Tests/Framework/foo.cxx b/Tests/Framework/foo.cxx index 521f6f2..6980888 100644 --- a/Tests/Framework/foo.cxx +++ b/Tests/Framework/foo.cxx @@ -1,6 +1,8 @@ #include <stdio.h> #ifdef _WIN32 # define CM_TEST_LIB_EXPORT __declspec( dllexport ) +#else +# define CM_TEST_LIB_EXPORT #endif CM_TEST_LIB_EXPORT void foo() { |