forked from boostorg/predef
Most changes from review comments implemented. Remove use of "#elif" for
backward PP compatability. Add BOOST_category_item_AVAILABLE as a defined, or not, symbol for use with "#ifdef" or "#ifndef". Add documentation of macros used for detection and version information. Also replace direct use of BVN(0,0,0) and BVN(0,0,1) with more meaningful macros that are globally defined, and hence consistent.
This commit is contained in:
@ -29,16 +29,21 @@ Version number available as major, minor, and patch.
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_COMP_INTEL BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_INTEL BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
|
||||
defined(__ECC)
|
||||
# undef BOOST_COMP_INTEL
|
||||
# if defined(__INTEL_COMPILER)
|
||||
# if !defined(BOOST_COMP_INTEL) && defined(__INTEL_COMPILER)
|
||||
# define BOOST_COMP_INTEL BOOST_PREDEF_MAKE_10_VRP(__INTEL_COMPILER)
|
||||
# else
|
||||
# define BOOST_COMP_INTEL BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
# if !defined(BOOST_COMP_INTEL)
|
||||
# define BOOST_COMP_INTEL BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if BOOST_COMP_INTEL
|
||||
# define BOOST_COMP_INTEL_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_INTEL_NAME "Intel C/C++"
|
||||
|
Reference in New Issue
Block a user