blob: a4d15f609f477a05ef9e085f21347564b1b15e1f (
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");
}
|