From e201687ac45e184c83906fda61be91673e1cce95 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 6 Aug 2009 09:13:09 +0000 Subject: [PATCH] Fixes #2935. Add new config macro BOOST_MSVC_FULL_VER, and updated type_traits to make use of it. [SVN r55429] --- include/boost/config/compiler/visualc.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index bd5731f0..fd21f26b 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -14,6 +14,12 @@ #define BOOST_MSVC _MSC_VER +#if _MSC_FULL_VER > 100000000 +# define BOOST_MSVC_FULL_VER _MSC_FULL_VER +#else +# define BOOST_MSVC_FULL_VER (_MSC_FULL_VER * 10) +#endif + // turn off the warnings before we #include anything #pragma warning( disable : 4503 ) // warning: decorated name length exceeded