Add a BOOST_CLANG macro to indicate when Clang is used.

[SVN r62089]
This commit is contained in:
Douglas Gregor
2010-05-18 17:55:32 +00:00
parent a134372b3e
commit f19e192f68
2 changed files with 7 additions and 0 deletions

View File

@@ -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