2007-05-08 18:58:35 +04:00
|
|
|
#include <stdio.h>
|
2007-08-02 00:15:54 +04:00
|
|
|
#if defined(_WIN32) && defined(foo_EXPORTS)
|
2007-05-08 19:53:39 +04:00
|
|
|
# define CM_TEST_LIB_EXPORT __declspec( dllexport )
|
2012-08-13 21:42:58 +04:00
|
|
|
#else
|
2007-05-08 20:43:06 +04:00
|
|
|
# define CM_TEST_LIB_EXPORT
|
2007-05-08 19:53:39 +04:00
|
|
|
#endif
|
|
|
|
CM_TEST_LIB_EXPORT void foo()
|
2007-05-08 18:58:35 +04:00
|
|
|
{
|
|
|
|
printf("foo\n");
|
|
|
|
}
|