From bf3b2406867820bf7ade6aed9554ae12c6d53310 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 3 Sep 2002 11:34:12 +0000 Subject: [PATCH] Second try at fixing Intel errors, without messing up Intel+STLport config. [SVN r15141] --- include/boost/array.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/array.hpp b/include/boost/array.hpp index 2c51fcb..d4a6c6e 100644 --- a/include/boost/array.hpp +++ b/include/boost/array.hpp @@ -56,7 +56,7 @@ namespace boost { #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(BOOST_MSVC_STD_ITERATOR) && !(defined(__ICL) && defined(_CPPLIB_VER) && (_CPPLIB_VER <= 310)) typedef std::reverse_iterator reverse_iterator; typedef std::reverse_iterator const_reverse_iterator; -#elif defined(BOOST_MSVC) && (BOOST_MSVC == 1300) || (defined(__ICL) && defined(_CPPLIB_VER) && (_CPPLIB_VER == 310)) +#elif defined(BOOST_MSVC) && (BOOST_MSVC == 1300) || (defined(__ICL) && defined(_CPPLIB_VER) && (_CPPLIB_VER == 310) && defined(_ITERATOR_)) // workaround for broken reverse_iterator in VC7 typedef std::reverse_iterator > reverse_iterator; @@ -164,3 +164,4 @@ namespace boost { #endif /*BOOST_ARRAY_HPP*/ +