blob: ba8458923d097b1579259af950b56e283c31b4f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
#ifdef CMakeTestCLibraryShared_EXPORTS
# define CMakeTest_EXPORT __declspec(dllexport)
#else
# define CMakeTest_EXPORT __declspec(dllimport)
#endif
#else
/* unix needs nothing */
#define CMakeTest_EXPORT
#endif
CMakeTest_EXPORT int CsharedFunction();
|