From dc5535edbd6462ddc24b1eb2f0e93a3e7964cf9f Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 9 Jul 2012 11:11:53 +0000 Subject: [PATCH] Apply patch from #7056. Fixes #7056. [SVN r79375] --- include/boost/config/compiler/visualc.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index a2aea02d..e80deb14 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -233,6 +233,7 @@ # define BOOST_ABI_SUFFIX "boost/config/abi/msvc_suffix.hpp" #endif +#ifndef BOOST_COMPILER // TODO: // these things are mostly bogus. 1200 means version 12.0 of the compiler. The // artificial versions assigned to them only refer to the versions of some IDE @@ -289,7 +290,8 @@ # endif # endif -#define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) +# define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) +#endif // // last known and checked version is 1700 (VC11, aka 2011):