CMake/Tests/LibName/foo.c

12 lines
135 B
C
Raw Normal View History

2006-11-30 01:45:55 +03:00
#ifdef _WIN32
__declspec(dllimport)
#endif
2006-11-30 05:53:52 +03:00
extern void foo();
2006-11-30 01:45:55 +03:00
#ifdef _WIN32
__declspec(dllexport)
#endif
void bar()
{
foo();
}