Fix CompileCommandOutput test build on Windows

Add dllexport markup for the shared library.
This commit is contained in:
Brad King 2011-05-20 08:06:35 -04:00
parent 7039d1fd9b
commit cdc2b41cc2
1 changed files with 11 additions and 1 deletions

View File

@ -1 +1,11 @@
void relative();
#if defined(_WIN32)
# ifdef test2_EXPORTS
# define TEST2_EXPORT __declspec(dllexport)
# else
# define TEST2_EXPORT __declspec(dllimport)
# endif
#else
# define TEST2_EXPORT
#endif
TEST2_EXPORT void relative();