2008-10-12 18:41:06 +02:00
|
|
|
#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
|
2008-10-12 18:41:06 +02:00
|
|
|
#endif
|
|
|
|
CM_TEST_LIB_EXPORT void foo()
|
|
|
|
{
|
|
|
|
printf("foo\n");
|
|
|
|
}
|