mirror of
https://github.com/boostorg/config.git
synced 2025-07-29 20:07:17 +02:00
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
|
||||
compiler version macro.
|
||||
]]
|
||||
[[`BOOST_CLANG`][`<boost/config.hpp>`][
|
||||
Defined to 1 if the compiler is the Clang compiler.
|
||||
]]
|
||||
[[`BOOST_WINDOWS`][`<boost/config.hpp>`][
|
||||
Defined if the Windows platfrom API is available.
|
||||
]]
|
||||
|
@ -69,3 +69,7 @@
|
||||
#ifndef BOOST_COMPILER
|
||||
# define BOOST_COMPILER "Clang version " __clang_version__
|
||||
#endif
|
||||
|
||||
// Macro used to identify the Clang compiler.
|
||||
#define BOOST_CLANG 1
|
||||
|
||||
|
Reference in New Issue
Block a user