30#if defined _WIN32 || defined __CYGWIN__
31 #define ROSE_DLL_HELPER_DLL_IMPORT __declspec(dllimport)
32 #define ROSE_DLL_HELPER_DLL_EXPORT __declspec(dllexport)
33 #define ROSE_DLL_HELPER_DLL_LOCAL
34#elif __GNUC__ >= 4 && !defined(USE_ROSE)
35 #define ROSE_DLL_HELPER_DLL_IMPORT __attribute__ ((visibility("default")))
36 #define ROSE_DLL_HELPER_DLL_EXPORT __attribute__ ((visibility("default")))
37 #define ROSE_DLL_HELPER_DLL_LOCAL __attribute__ ((visibility("hidden")))
39 #define ROSE_DLL_HELPER_DLL_IMPORT
40 #define ROSE_DLL_HELPER_DLL_EXPORT
41 #define ROSE_DLL_HELPER_DLL_LOCAL
45#ifdef ROSE_DLL_EXPORTS
46 #define ROSE_DLL_API ROSE_DLL_HELPER_DLL_EXPORT
48 #define ROSE_DLL_API ROSE_DLL_HELPER_DLL_IMPORT
51#ifdef ROSE_UTIL_EXPORTS
52 #define ROSE_UTIL_API ROSE_DLL_HELPER_DLL_EXPORT
54 #define ROSE_UTIL_API ROSE_DLL_HELPER_DLL_IMPORT