Go to the documentation of this file.
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
35 #if __GNUC__ >= 4 && !defined(USE_ROSE)
36 #define ROSE_DLL_HELPER_DLL_IMPORT __attribute__ ((visibility("default")))
37 #define ROSE_DLL_HELPER_DLL_EXPORT __attribute__ ((visibility("default")))
38 #define ROSE_DLL_HELPER_DLL_LOCAL __attribute__ ((visibility("hidden")))
40 #define ROSE_DLL_HELPER_DLL_IMPORT
41 #define ROSE_DLL_HELPER_DLL_EXPORT
42 #define ROSE_DLL_HELPER_DLL_LOCAL
48 #ifdef ROSE_DLL_EXPORTS // defined if we are building the ROSE DLL (instead of using it)
49 #define ROSE_DLL_API ROSE_DLL_HELPER_DLL_EXPORT
51 #define ROSE_DLL_API ROSE_DLL_HELPER_DLL_IMPORT
52 #endif // ROSE_DLL_DLL_EXPORTS
53 #define ROSE_DLL_LOCAL ROSE_DLL_HELPER_DLL_LOCAL
54 #ifdef ROSE_UTIL_EXPORTS
55 #define ROSE_UTIL_API ROSE_DLL_HELPER_DLL_EXPORT
57 #define ROSE_UTIL_API ROSE_DLL_HELPER_DLL_IMPORT