Go to the documentation of this file. 1 #ifndef FWCore_Utilities_GCCPrerequisite_h
2 #define FWCore_Utilities_GCCPrerequisite_h
11 #if defined __GNUC__ && defined __GNUC_MINOR__ && defined __GNUC_PATCHLEVEL__
12 # define GCC_PREREQUISITE(maj, min, patch) \
13 ((__GNUC__ << 16) + (__GNUC_MINOR__ << 8) + __GNUC_PATCHLEVEL__ >= ((maj) << 16) + ((min) << 8) + (patch))
14 #elif defined __GNUC__ && defined __GNUC_MINOR__
15 # define GCC_PREREQUISITE(maj, min, patch) \
16 ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
18 # define GCC_PREREQUISITE(maj, min, patch) 0