Merge BOOST_CLANG from trunk r62089.

[SVN r62090]
This commit is contained in:
Douglas Gregor
2010-05-18 18:13:10 +00:00
parent 3d7932ae61
commit 4ce3e43a4e
2 changed files with 7 additions and 0 deletions

View File

@ -831,6 +831,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.
]] ]]

View File

@ -62,3 +62,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