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*/ +