File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_COMPILER_INTEL_H
0009 #define BOOST_PREDEF_COMPILER_INTEL_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_INTEL BOOST_VERSION_NUMBER_NOT_AVAILABLE
0035
0036 #if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
0037 defined(__ECC)
0038
0039
0040
0041
0042 # if !defined(BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER == 9999)
0043 # define BOOST_COMP_INTEL_DETECTION BOOST_VERSION_NUMBER(12,1,0)
0044 # endif
0045 # if !defined(BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER) && defined(__INTEL_COMPILER_UPDATE)
0046 # define BOOST_COMP_INTEL_DETECTION BOOST_VERSION_NUMBER( \
0047 BOOST_VERSION_NUMBER_MAJOR(BOOST_PREDEF_MAKE_10_VVRR(__INTEL_COMPILER)), \
0048 BOOST_VERSION_NUMBER_MINOR(BOOST_PREDEF_MAKE_10_VVRR(__INTEL_COMPILER)), \
0049 __INTEL_COMPILER_UPDATE)
0050 # endif
0051 # if !defined(BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER)
0052 # define BOOST_COMP_INTEL_DETECTION BOOST_PREDEF_MAKE_10_VVRR(__INTEL_COMPILER)
0053 # endif
0054 # if !defined(BOOST_COMP_INTEL_DETECTION)
0055 # define BOOST_COMP_INTEL_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0056 # endif
0057 #endif
0058
0059 #ifdef BOOST_COMP_INTEL_DETECTION
0060 # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0061 # define BOOST_COMP_INTEL_EMULATED BOOST_COMP_INTEL_DETECTION
0062 # else
0063 # undef BOOST_COMP_INTEL
0064 # define BOOST_COMP_INTEL BOOST_COMP_INTEL_DETECTION
0065 # endif
0066 # define BOOST_COMP_INTEL_AVAILABLE
0067 # include <boost/predef/detail/comp_detected.h>
0068 #endif
0069
0070 #define BOOST_COMP_INTEL_NAME "Intel C/C++"
0071
0072 #endif
0073
0074 #include <boost/predef/detail/test.h>
0075 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_INTEL,BOOST_COMP_INTEL_NAME)
0076
0077 #ifdef BOOST_COMP_INTEL_EMULATED
0078 #include <boost/predef/detail/test.h>
0079 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_INTEL_EMULATED,BOOST_COMP_INTEL_NAME)
0080 #endif