00001 #ifndef FWCore_Utilities_GCCPrerequisite_h
00002 #define FWCore_Utilities_GCCPrerequisite_h
00003
00004
00005
00006
00007
00008
00009
00010
00011 #if defined __GNUC__ && defined __GNUC_MINOR__ && defined __GNUC_PATCHLEVEL__
00012 # define GCC_PREREQUISITE(maj, min, patch) \
00013 ((__GNUC__ << 16) + (__GNUC_MINOR__ << 8) + __GNUC_PATCHLEVEL__ >= ((maj) << 16) + ((min) << 8) + (patch))
00014 #elif defined __GNUC__ && defined __GNUC_MINOR__
00015 # define GCC_PREREQUISITE(maj, min, patch) \
00016 ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
00017 #else
00018 # define GCC_PREREQUISITE(maj, min, patch) 0
00019 #endif
00020
00021 #endif