11 lines
212 B
C++
Raw Normal View History

2007-05-08 10:58:35 -04:00
#include <stdio.h>
#if defined(_WIN32) && defined(foo_EXPORTS)
# define CM_TEST_LIB_EXPORT __declspec( dllexport )
#else
2007-05-08 12:43:06 -04:00
# define CM_TEST_LIB_EXPORT
#endif
CM_TEST_LIB_EXPORT void foo()
2007-05-08 10:58:35 -04:00
{
printf("foo\n");
}