Go to the documentation of this file.
51 #ifndef _CHARON_DLL_EX_H_
52 #define _CHARON_DLL_EX_H_
54 #ifdef _MSC_VER // MSVC
55 #define charon_core_PUBLIC
56 #ifdef charon_core_EXPORTS
57 #define charon_core_DLL_PUBLIC __declspec(dllexport)
59 #define charon_core_DLL_PUBLIC __declspec(dllimport)
61 #ifdef charon_plugins_EXPORTS
62 #define charon_plugins_DLL_PUBLIC __declspec(dllexport)
64 #define charon_plugins_DLL_PUBLIC __declspec(dllimport)
66 #ifdef charon_groups_EXPORTS
67 #define charon_groups_DLL_PUBLIC __declspec(dllexport)
69 #define charon_groups_DLL_PUBLIC __declspec(dllimport)
71 #define charon_core_LOCAL
72 #define charon_DEPRECATED __declspec(deprecated)
75 #define charon_core_PUBLIC __attribute__ ((visibility ("default")))
76 #define charon_core_DLL_PUBLIC __attribute__ ((visibility ("default")))
77 #define charon_plugins_DLL_PUBLIC __attribute__ ((visibility ("default")))
78 #define charon_groups_DLL_PUBLIC __attribute__ ((visibility ("default")))
79 #define charon_core_LOCAL __attribute__ ((visibility ("hidden")))
81 #define charon_core_PUBLIC
82 #define charon_core_DLL_PUBLIC
83 #define charon_plugins_DLL_PUBLIC
84 #define charon_groups_DLL_PUBLIC
85 #define charon_core_LOCAL
87 #define charon_DEPRECATED __attribute__((deprecated))
90 #endif // _CHARON_DLL_EX_H_