File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_COMPILER_GCC_H
0009 #define BOOST_PREDEF_COMPILER_GCC_H
0010
0011
0012
0013 #include <boost/predef/compiler/clang.h>
0014
0015 #include <boost/predef/version_number.h>
0016 #include <boost/predef/make.h>
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035 #define BOOST_COMP_GNUC BOOST_VERSION_NUMBER_NOT_AVAILABLE
0036
0037 #if defined(__GNUC__)
0038 # if !defined(BOOST_COMP_GNUC_DETECTION) && defined(__GNUC_PATCHLEVEL__)
0039 # define BOOST_COMP_GNUC_DETECTION \
0040 BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__)
0041 # endif
0042 # if !defined(BOOST_COMP_GNUC_DETECTION)
0043 # define BOOST_COMP_GNUC_DETECTION \
0044 BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,0)
0045 # endif
0046 #endif
0047
0048 #ifdef BOOST_COMP_GNUC_DETECTION
0049 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0050 # define BOOST_COMP_GNUC_EMULATED BOOST_COMP_GNUC_DETECTION
0051 # else
0052 # undef BOOST_COMP_GNUC
0053 # define BOOST_COMP_GNUC BOOST_COMP_GNUC_DETECTION
0054 # endif
0055 # define BOOST_COMP_GNUC_AVAILABLE
0056 # include <boost/predef/detail/comp_detected.h>
0057 #endif
0058
0059 #define BOOST_COMP_GNUC_NAME "Gnu GCC C/C++"
0060
0061 #endif
0062
0063 #include <boost/predef/detail/test.h>
0064 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GNUC,BOOST_COMP_GNUC_NAME)
0065
0066 #ifdef BOOST_COMP_GNUC_EMULATED
0067 #include <boost/predef/detail/test.h>
0068 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GNUC_EMULATED,BOOST_COMP_GNUC_NAME)
0069 #endif