CMS 3D CMS Logo

Visibility.h
Go to the documentation of this file.
1 #ifndef VISIBILITY_MACROS_H
2 #define VISIBILITY_MACROS_H
4 
5 #if GCC_PREREQUISITE(4, 4, 0)
6 #define dso_export __attribute__((visibility("default")))
7 #define dso_hidden __attribute__((visibility("hidden")))
8 #define dso_internal __attribute__((visibility("hidden")))
9 #define dso_protected __attribute__((visibility("protected")))
10 #else
11 #define dso_export
12 #define dso_hidden
13 #define dso_internal
14 #define dso_protected
15 #endif
16 
17 #endif // VISIBILITY
GCCPrerequisite.h