diff options
Diffstat (limited to 'Tests/Framework/bar.cxx')
-rw-r--r-- | Tests/Framework/bar.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/Framework/bar.cxx b/Tests/Framework/bar.cxx index 37c132a..5c9d612 100644 --- a/Tests/Framework/bar.cxx +++ b/Tests/Framework/bar.cxx @@ -1,4 +1,7 @@ -void foo(); +#ifdef _WIN32 +# define CM_TEST_LIB_IMPORT __declspec( dllimport ) +#endif +CM_TEST_LIB_IMPORT void foo(); int main() { foo(); |