diff options
Diffstat (limited to 'Tests/COnly/libc2.h')
-rw-r--r-- | Tests/COnly/libc2.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/COnly/libc2.h b/Tests/COnly/libc2.h new file mode 100644 index 000000000..a99d8984e --- /dev/null +++ b/Tests/COnly/libc2.h @@ -0,0 +1,11 @@ +#ifdef _WIN32 +# ifdef testc2_EXPORTS +# define CM_TEST_LIB_EXPORT __declspec( dllexport ) +# else +# define CM_TEST_LIB_EXPORT __declspec( dllimport ) +# endif +#else +# define CM_TEST_LIB_EXPORT +#endif + +CM_TEST_LIB_EXPORT float LibC2Func(); |