blob: e5c19738cdcc0431e5de68a47e6123210eb7780b (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <stdio.h>
#if defined(_WIN32) && defined(foo_EXPORTS)
# define CM_TEST_LIB_EXPORT __declspec( dllexport )
#else
# define CM_TEST_LIB_EXPORT
#endif
CM_TEST_LIB_EXPORT void foo()
{
printf("foo\n");
}
|