From 261a01ccabe6af17643bea0bdea1b80e39ac889d Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Fri, 21 Feb 2003 22:08:01 +0000 Subject: [PATCH] See format_test1 for example of why needed [SVN r17583] --- include/boost/config/compiler/visualc.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 45132a19..7bd6b34a 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -23,7 +23,7 @@ // #endif -#if (_MSC_VER <= 1300) +#if (_MSC_VER <= 1300) // 1200 == VC++ 7.0 #if !defined(_MSC_EXTENSIONS) && !defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) // VC7 bug with /Za # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS @@ -53,10 +53,14 @@ #endif -#if _MSC_VER < 1310 +#if _MSC_VER < 1310 // 1310 == VC++ 7.1 # define BOOST_NO_SWPRINTF #endif +#if _MSC_VER <= 1310 +# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS +#endif + #ifndef _NATIVE_WCHAR_T_DEFINED # define BOOST_NO_INTRINSIC_WCHAR_T #endif