From 4cca4fac2f01531c38547849a2a8dbcc4867975f Mon Sep 17 00:00:00 2001 From: "Victor A. Wagner Jr." Date: Fri, 8 Apr 2005 18:44:52 +0000 Subject: [PATCH] Changed - effectively I rolled back the last change because it clobbers VC7.1 and VC8.0 tests (they do NOT show in the regression, which is another problem altogether) as well as killing some code of mine which uses boost::array. NOTE - I've commented out the one line I replaced so that more people can look at this change and decide what it _really_ needs to be (I haven't the time to so do). One thing that seems VERY odd is the changing of the && to || in the "new" line. [SVN r28066] --- include/boost/range/config.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/range/config.hpp b/include/boost/range/config.hpp index 94394bd..b4920d1 100755 --- a/include/boost/range/config.hpp +++ b/include/boost/range/config.hpp @@ -33,7 +33,8 @@ #error "macro already defined!" #endif -#if BOOST_WORKAROUND( BOOST_MSVC, <= 1200 ) || __MWERKS__ <= 0x3003 +//#if BOOST_WORKAROUND( BOOST_MSVC, <= 1200 ) || __MWERKS__ <= 0x3003 +#if _MSC_VER <= 1200 && !defined( __COMO__ ) && !defined( __GNUC__ ) && __MWERKS__ <= 0x3003 #define BOOST_RANGE_NO_ARRAY_SUPPORT 1 #endif