11 lines
183 B
C++
Raw Normal View History

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