From 19dc5405d671739b1c884f112b97831fc92c6fee Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 10 Aug 2013 12:43:26 +0000 Subject: [PATCH] Restore `BOOST_COMPILER_VERSION` for old Visual C++. They don't hurt, and might be useful to someone. [SVN r85276] --- include/boost/config/compiler/visualc.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 46322ea5..b1c9c848 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -237,7 +237,14 @@ # endif # endif # else -# if _MSC_VER < 1400 +# if _MSC_VER < 1310 + // Note: Versions up to 7.0 aren't supported. +# define BOOST_COMPILER_VERSION 5.0 +# elif _MSC_VER < 1300 +# define BOOST_COMPILER_VERSION 6.0 +# elif _MSC_VER < 1310 +# define BOOST_COMPILER_VERSION 7.0 +# elif _MSC_VER < 1400 # define BOOST_COMPILER_VERSION 7.1 # elif _MSC_VER < 1500 # define BOOST_COMPILER_VERSION 8.0