|
|
@ -58,8 +58,14 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "cvconfig.h" |
|
|
|
#include "cvconfig.h" |
|
|
|
|
|
|
|
|
|
|
|
#if defined(BUILD_SHARED_LIBS) && (defined WIN32 || defined _WIN32 || defined WINCE) |
|
|
|
#if defined(BUILD_SHARED_LIBS) |
|
|
|
|
|
|
|
#if defined WIN32 || defined _WIN32 || defined WINCE |
|
|
|
#define CL_RUNTIME_EXPORT __declspec(dllexport) |
|
|
|
#define CL_RUNTIME_EXPORT __declspec(dllexport) |
|
|
|
|
|
|
|
#elif defined __GNUC__ && __GNUC__ >= 4 |
|
|
|
|
|
|
|
#define CL_RUNTIME_EXPORT __attribute__ ((visibility ("default"))) |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
#define CL_RUNTIME_EXPORT |
|
|
|
|
|
|
|
#endif |
|
|
|
#else |
|
|
|
#else |
|
|
|
#define CL_RUNTIME_EXPORT |
|
|
|
#define CL_RUNTIME_EXPORT |
|
|
|
#endif |
|
|
|
#endif |
|
|
|