00001
00002
00003 #ifndef DUNE_COMMON_VISIBILITY_HH
00004 #define DUNE_COMMON_VISIBILITY_HH
00005
00010 #ifdef DOXYGEN
00011
00013
00018 #define DUNE_EXPORT implementation_defined
00019
00021
00026 #define DUNE_PRIVATE implementation_defined
00027
00028 #else // DOXYGEN
00029
00030 #if __GNUC__ >= 4
00031
00032
00033 #define DUNE_EXPORT __attribute__((visibility("default")))
00034 #define DUNE_PRIVATE __attribute__((visibility("hidden")))
00035 #else
00036
00037 #define DUNE_EXPORT
00038 #define DUNE_PRIVATE
00039 #endif
00040
00041 #endif // DOXYGEN
00042
00043 #endif // DUNE_COMMON_VISIBILITY