2002-04-08 21:36:18 +04:00
|
|
|
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
|
2002-04-09 18:19:02 +04:00
|
|
|
#ifdef CMakeTestCLibraryShared_EXPORTS
|
2002-04-08 21:36:18 +04:00
|
|
|
# define CMakeTest_EXPORT __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
# define CMakeTest_EXPORT __declspec(dllimport)
|
|
|
|
#endif
|
|
|
|
#else
|
2002-04-09 20:24:44 +04:00
|
|
|
/* unix needs nothing */
|
2002-04-08 21:36:18 +04:00
|
|
|
#define CMakeTest_EXPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
CMakeTest_EXPORT int CsharedFunction();
|
2002-04-09 18:19:02 +04:00
|
|
|
|