diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-05-08 16:43:06 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-05-08 16:43:06 (GMT) |
commit | f2d3e386f72fb91e5eb1512f95c655366032686d (patch) | |
tree | 074c868468360a875f2b29fdec00fb9b39cd6e93 /Tests/Framework/foo.cxx | |
parent | 39ccc4fb11b52a3dbc18d50e19003cd9a708f623 (diff) | |
download | CMake-f2d3e386f72fb91e5eb1512f95c655366032686d.zip CMake-f2d3e386f72fb91e5eb1512f95c655366032686d.tar.gz CMake-f2d3e386f72fb91e5eb1512f95c655366032686d.tar.bz2 |
ENH: make it work on non windows
Diffstat (limited to 'Tests/Framework/foo.cxx')
-rw-r--r-- | Tests/Framework/foo.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |