Go to the documentation of this file.
17 #if defined _WIN32 || defined __CYGWIN__
19 # define MC_OBSERVERS_DLLIMPORT __declspec(dllimport)
20 # define MC_OBSERVERS_DLLEXPORT __declspec(dllexport)
21 # define MC_OBSERVERS_DLLLOCAL
25 # define MC_OBSERVERS_DLLIMPORT __attribute__((visibility("default")))
26 # define MC_OBSERVERS_DLLEXPORT __attribute__((visibility("default")))
27 # define MC_OBSERVERS_DLLLOCAL __attribute__((visibility("hidden")))
30 # define MC_OBSERVERS_DLLIMPORT
31 # define MC_OBSERVERS_DLLEXPORT
32 # define MC_OBSERVERS_DLLLOCAL
33 # endif // __GNUC__ >= 4
34 #endif // defined _WIN32 || defined __CYGWIN__
36 #ifdef MC_OBSERVERS_STATIC
39 # define MC_OBSERVERS_DLLAPI
40 # define MC_OBSERVERS_LOCAL
44 # ifdef MC_CONTROL_EXPORTS
45 # define MC_OBSERVERS_DLLAPI MC_OBSERVERS_DLLEXPORT
47 # define MC_OBSERVERS_DLLAPI MC_OBSERVERS_DLLIMPORT
48 # endif // MC_CONTROL_EXPORTS
49 # define MC_OBSERVERS_LOCAL MC_OBSERVERS_DLLLOCAL
50 #endif // MC_OBSERVERS_STATIC
62 #if defined _WIN32 || defined __CYGWIN__
64 # define MC_OBSERVER_DLLIMPORT __declspec(dllimport)
65 # define MC_OBSERVER_DLLEXPORT __declspec(dllexport)
66 # define MC_OBSERVER_DLLLOCAL
70 # define MC_OBSERVER_DLLIMPORT __attribute__((visibility("default")))
71 # define MC_OBSERVER_DLLEXPORT __attribute__((visibility("default")))
72 # define MC_OBSERVER_DLLLOCAL __attribute__((visibility("hidden")))
75 # define MC_OBSERVER_DLLIMPORT
76 # define MC_OBSERVER_DLLEXPORT
77 # define MC_OBSERVER_DLLLOCAL
78 # endif // __GNUC__ >= 4
79 #endif // defined _WIN32 || defined __CYGWIN__
81 #ifdef MC_OBSERVER_STATIC
84 # define MC_OBSERVER_DLLAPI
85 # define MC_OBSERVER_LOCAL
89 # ifdef MC_OBSERVER_EXPORTS
90 # define MC_OBSERVER_DLLAPI MC_OBSERVER_DLLEXPORT
92 # define MC_OBSERVER_DLLAPI MC_OBSERVER_DLLIMPORT
93 # endif // MC_OBSERVER_EXPORTS
94 # define MC_OBSERVER_LOCAL MC_OBSERVER_DLLLOCAL
95 #endif // MC_OBSERVER_STATIC