You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
549 B
C
23 lines
549 B
C
|
5 years ago
|
#ifndef __CyclopsCommon_h_
|
||
|
|
#define __CyclopsCommon_h_
|
||
|
|
|
||
|
|
#if defined (_MSC_VER) // windows
|
||
|
|
#if defined(CYCLOPS_EXPORT)
|
||
|
|
#define CYCLOPS_DLLSPEC __declspec(dllexport) // Use .def file for hiding API names
|
||
|
|
#elif defined(CYCLOPS_LIB)
|
||
|
|
#define CYCLOPS_DLLSPEC
|
||
|
|
#else
|
||
|
|
#define CYCLOPS_DLLSPEC __declspec(dllimport)
|
||
|
|
#endif
|
||
|
|
#else // gcc
|
||
|
|
#if defined(CYCLOPS_EXPORT)
|
||
|
|
#define CYCLOPS_DLLSPEC __attribute__(dllexport)
|
||
|
|
#elif defined(CYCLOPS_LIB)
|
||
|
|
#define CYCLOPS_DLLSPEC
|
||
|
|
#else
|
||
|
|
#define CYCLOPS_DLLSPEC __attribute__(dllimport)
|
||
|
|
#endif
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif // CyclopsCommon_h_
|