forked from boostorg/config
Add a BOOST_CLANG macro to indicate when Clang is used.
[SVN r62089]
This commit is contained in:
@ -835,6 +835,9 @@ PPPPP is the compiler build number.
|
|||||||
Defined if the compiler is an Intel compiler, takes the same value as the
|
Defined if the compiler is an Intel compiler, takes the same value as the
|
||||||
compiler version macro.
|
compiler version macro.
|
||||||
]]
|
]]
|
||||||
|
[[`BOOST_CLANG`][`<boost/config.hpp>`][
|
||||||
|
Defined to 1 if the compiler is the Clang compiler.
|
||||||
|
]]
|
||||||
[[`BOOST_WINDOWS`][`<boost/config.hpp>`][
|
[[`BOOST_WINDOWS`][`<boost/config.hpp>`][
|
||||||
Defined if the Windows platfrom API is available.
|
Defined if the Windows platfrom API is available.
|
||||||
]]
|
]]
|
||||||
|
@ -69,3 +69,7 @@
|
|||||||
#ifndef BOOST_COMPILER
|
#ifndef BOOST_COMPILER
|
||||||
# define BOOST_COMPILER "Clang version " __clang_version__
|
# define BOOST_COMPILER "Clang version " __clang_version__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Macro used to identify the Clang compiler.
|
||||||
|
#define BOOST_CLANG 1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user