Go to the documentation of this file.00001 #ifndef VISIBILITY_MACROS_H
00002 #define VISIBILITY_MACROS_H
00003
00004 #if defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ > 3)
00005 #define dso_export __attribute__ ((visibility ("default")))
00006 #define dso_hidden __attribute__ ((visibility ("hidden")) )
00007 #define dso_internal __attribute__ ((visibility ("internal")))
00008 #define dso_protected __attribute__ ((visibility ("protected")))
00009 #else
00010 #define dso_export
00011 #define dso_hidden
00012 #define dso_internal
00013 #define dso_protected
00014 #endif
00015
00016
00017 #endif // VISIBILITY
00018