File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_COMPILER_SUNPRO_H
0009 #define BOOST_PREDEF_COMPILER_SUNPRO_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_SUNPRO BOOST_VERSION_NUMBER_NOT_AVAILABLE
0035
0036 #if defined(__SUNPRO_CC) || defined(__SUNPRO_C)
0037 # if !defined(BOOST_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_CC)
0038 # if (__SUNPRO_CC < 0x5100)
0039 # define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_CC)
0040 # else
0041 # define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VVRRP(__SUNPRO_CC)
0042 # endif
0043 # endif
0044 # if !defined(BOOST_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_C)
0045 # if (__SUNPRO_C < 0x5100)
0046 # define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_C)
0047 # else
0048 # define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VVRRP(__SUNPRO_C)
0049 # endif
0050 # endif
0051 # if !defined(BOOST_COMP_SUNPRO_DETECTION)
0052 # define BOOST_COMP_SUNPRO_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0053 # endif
0054 #endif
0055
0056 #ifdef BOOST_COMP_SUNPRO_DETECTION
0057 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0058 # define BOOST_COMP_SUNPRO_EMULATED BOOST_COMP_SUNPRO_DETECTION
0059 # else
0060 # undef BOOST_COMP_SUNPRO
0061 # define BOOST_COMP_SUNPRO BOOST_COMP_SUNPRO_DETECTION
0062 # endif
0063 # define BOOST_COMP_SUNPRO_AVAILABLE
0064 # include <boost/predef/detail/comp_detected.h>
0065 #endif
0066
0067 #define BOOST_COMP_SUNPRO_NAME "Oracle Solaris Studio"
0068
0069 #endif
0070
0071 #include <boost/predef/detail/test.h>
0072 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SUNPRO,BOOST_COMP_SUNPRO_NAME)
0073
0074 #ifdef BOOST_COMP_SUNPRO_EMULATED
0075 #include <boost/predef/detail/test.h>
0076 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SUNPRO_EMULATED,BOOST_COMP_SUNPRO_NAME)
0077 #endif