File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_COMPILER_IBM_H
0009 #define BOOST_PREDEF_COMPILER_IBM_H
0010
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035 #define BOOST_COMP_IBM BOOST_VERSION_NUMBER_NOT_AVAILABLE
0036
0037 #if defined(__IBMCPP__) || defined(__xlC__) || defined(__xlc__)
0038 # if !defined(BOOST_COMP_IBM_DETECTION) && defined(__COMPILER_VER__)
0039 # define BOOST_COMP_IBM_DETECTION BOOST_PREDEF_MAKE_0X_VRRPPPP(__COMPILER_VER__)
0040 # endif
0041 # if !defined(BOOST_COMP_IBM_DETECTION) && defined(__xlC__)
0042 # define BOOST_COMP_IBM_DETECTION BOOST_PREDEF_MAKE_0X_VVRR(__xlC__)
0043 # endif
0044 # if !defined(BOOST_COMP_IBM_DETECTION) && defined(__xlc__)
0045 # define BOOST_COMP_IBM_DETECTION BOOST_PREDEF_MAKE_0X_VVRR(__xlc__)
0046 # endif
0047 # if !defined(BOOST_COMP_IBM_DETECTION)
0048 # define BOOST_COMP_IBM_DETECTION BOOST_PREDEF_MAKE_10_VRP(__IBMCPP__)
0049 # endif
0050 #endif
0051
0052 #ifdef BOOST_COMP_IBM_DETECTION
0053 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0054 # define BOOST_COMP_IBM_EMULATED BOOST_COMP_IBM_DETECTION
0055 # else
0056 # undef BOOST_COMP_IBM
0057 # define BOOST_COMP_IBM BOOST_COMP_IBM_DETECTION
0058 # endif
0059 # define BOOST_COMP_IBM_AVAILABLE
0060 # include <boost/predef/detail/comp_detected.h>
0061 #endif
0062
0063 #define BOOST_COMP_IBM_NAME "IBM XL C/C++"
0064
0065 #endif
0066
0067 #include <boost/predef/detail/test.h>
0068 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_IBM,BOOST_COMP_IBM_NAME)
0069
0070 #ifdef BOOST_COMP_IBM_EMULATED
0071 #include <boost/predef/detail/test.h>
0072 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_IBM_EMULATED,BOOST_COMP_IBM_NAME)
0073 #endif