From bfa21682371a6bc36cf7c538fede8389f9e24e68 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 25 Aug 2005 12:57:20 +0000 Subject: [PATCH] gcc+stlport fix. [SVN r30668] --- include/boost/regex/v4/instances.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/regex/v4/instances.hpp b/include/boost/regex/v4/instances.hpp index 8fdfa6df..07243dd8 100644 --- a/include/boost/regex/v4/instances.hpp +++ b/include/boost/regex/v4/instances.hpp @@ -79,7 +79,9 @@ template class BOOST_REGEX_DECL match_results< const BOOST_REGEX_CHAR_T* >; #ifndef BOOST_NO_STD_ALLOCATOR template class BOOST_REGEX_DECL ::boost::re_detail::perl_matcher::allocator_type, boost::regex_traits >; #endif -#if !(defined(BOOST_DINKUMWARE_STDLIB) && (BOOST_DINKUMWARE_STDLIB <= 1)) && !(defined(BOOST_INTEL_CXX_VERSION) && (BOOST_INTEL_CXX_VERSION <= 800)) +#if !(defined(BOOST_DINKUMWARE_STDLIB) && (BOOST_DINKUMWARE_STDLIB <= 1))\ + && !(defined(BOOST_INTEL_CXX_VERSION) && (BOOST_INTEL_CXX_VERSION <= 800))\ + && !(defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) #if !BOOST_WORKAROUND(BOOST_MSVC, <= 1200) template class BOOST_REGEX_DECL match_results< std::basic_string::const_iterator >; #endif