File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_COMPILER_GREENHILLS_H
0009 #define BOOST_PREDEF_COMPILER_GREENHILLS_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 #define BOOST_COMP_GHS BOOST_VERSION_NUMBER_NOT_AVAILABLE
0033
0034 #if defined(__ghs) || defined(__ghs__)
0035 # if !defined(BOOST_COMP_GHS_DETECTION) && defined(__GHS_VERSION_NUMBER__)
0036 # define BOOST_COMP_GHS_DETECTION BOOST_PREDEF_MAKE_10_VRP(__GHS_VERSION_NUMBER__)
0037 # endif
0038 # if !defined(BOOST_COMP_GHS_DETECTION) && defined(__ghs)
0039 # define BOOST_COMP_GHS_DETECTION BOOST_PREDEF_MAKE_10_VRP(__ghs)
0040 # endif
0041 # if !defined(BOOST_COMP_GHS_DETECTION)
0042 # define BOOST_COMP_GHS_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0043 # endif
0044 #endif
0045
0046 #ifdef BOOST_COMP_GHS_DETECTION
0047 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0048 # define BOOST_COMP_GHS_EMULATED BOOST_COMP_GHS_DETECTION
0049 # else
0050 # undef BOOST_COMP_GHS
0051 # define BOOST_COMP_GHS BOOST_COMP_GHS_DETECTION
0052 # endif
0053 # define BOOST_COMP_GHS_AVAILABLE
0054 # include <boost/predef/detail/comp_detected.h>
0055 #endif
0056
0057 #define BOOST_COMP_GHS_NAME "Green Hills C/C++"
0058
0059 #endif
0060
0061 #include <boost/predef/detail/test.h>
0062 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GHS,BOOST_COMP_GHS_NAME)
0063
0064 #ifdef BOOST_COMP_GHS_EMULATED
0065 #include <boost/predef/detail/test.h>
0066 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GHS_EMULATED,BOOST_COMP_GHS_NAME)
0067 #endif