File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_COMPILER_METROWERKS_H
0009 #define BOOST_PREDEF_COMPILER_METROWERKS_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 #define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER_NOT_AVAILABLE
0035
0036 #if defined(__MWERKS__) || defined(__CWCC__)
0037 # if !defined(BOOST_COMP_MWERKS_DETECTION) && defined(__CWCC__)
0038 # define BOOST_COMP_MWERKS_DETECTION BOOST_PREDEF_MAKE_0X_VRPP(__CWCC__)
0039 # endif
0040 # if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x4200)
0041 # define BOOST_COMP_MWERKS_DETECTION BOOST_PREDEF_MAKE_0X_VRPP(__MWERKS__)
0042 # endif
0043 # if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3204)
0044 # define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0)
0045 # endif
0046 # if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3200)
0047 # define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0)
0048 # endif
0049 # if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3000)
0050 # define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0)
0051 # endif
0052 # if !defined(BOOST_COMP_MWERKS_DETECTION)
0053 # define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0054 # endif
0055 #endif
0056
0057 #ifdef BOOST_COMP_MWERKS_DETECTION
0058 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0059 # define BOOST_COMP_MWERKS_EMULATED BOOST_COMP_MWERKS_DETECTION
0060 # else
0061 # undef BOOST_COMP_MWERKS
0062 # define BOOST_COMP_MWERKS BOOST_COMP_MWERKS_DETECTION
0063 # endif
0064 # define BOOST_COMP_MWERKS_AVAILABLE
0065 # include <boost/predef/detail/comp_detected.h>
0066 #endif
0067
0068 #define BOOST_COMP_MWERKS_NAME "Metrowerks CodeWarrior"
0069
0070 #endif
0071
0072 #include <boost/predef/detail/test.h>
0073 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MWERKS,BOOST_COMP_MWERKS_NAME)
0074
0075 #ifdef BOOST_COMP_MWERKS_EMULATED
0076 #include <boost/predef/detail/test.h>
0077 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MWERKS_EMULATED,BOOST_COMP_MWERKS_NAME)
0078 #endif