11 lines
205 B
C++
Raw Normal View History

#include <stdio.h>
#if defined(_WIN32) && defined(foo_EXPORTS)
2016-07-09 11:21:54 +02:00
#define CM_TEST_LIB_EXPORT __declspec(dllexport)
2013-03-16 19:13:01 +02:00
#else
2016-07-09 11:21:54 +02:00
#define CM_TEST_LIB_EXPORT
#endif
CM_TEST_LIB_EXPORT void foo()
{
printf("foo\n");
}