4 // Generic helper definitions for shared library support
5 #if defined _WIN32 || defined __CYGWIN__
6 #define HELPER_DLL_IMPORT __declspec(dllimport)
7 #define HELPER_DLL_EXPORT __declspec(dllexport)
8 #define HELPER_DLL_LOCAL
11 #define HELPER_DLL_IMPORT __attribute__ ((visibility ("default")))
12 #define HELPER_DLL_EXPORT __attribute__ ((visibility ("default")))
13 #define HELPER_DLL_LOCAL __attribute__ ((visibility ("hidden")))
15 #define HELPER_DLL_IMPORT
16 #define HELPER_DLL_EXPORT
17 #define HELPER_DLL_LOCAL
21 #endif /*DLL_HELPER_H*/