From d425f1e5bfb63eb72ef3bd521ede3ae381b86abe Mon Sep 17 00:00:00 2001 From: Daniel James Date: Wed, 8 Apr 2009 10:56:22 +0000 Subject: [PATCH] Include for some versions of gcc's library. Sometimes gcc's doesn't define the C++ macros, so check for it and include in that case. Also remove a workaround from container_fwd.hpp Fixes #2924. [SVN r52246] --- include/boost/detail/container_fwd.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/detail/container_fwd.hpp b/include/boost/detail/container_fwd.hpp index b8767fd..f54dedb 100644 --- a/include/boost/detail/container_fwd.hpp +++ b/include/boost/detail/container_fwd.hpp @@ -19,8 +19,7 @@ #define BOOST_HASH_CHAR_TRAITS char_traits #endif -#if ((defined(__GLIBCPP__) || defined(__GLIBCXX__) || defined(_GLIBCXX_CSTDDEF)) \ - && defined(_GLIBCXX_DEBUG)) \ +#if ((defined(__GLIBCPP__) || defined(__GLIBCXX__)) && defined(_GLIBCXX_DEBUG)) \ || BOOST_WORKAROUND(__BORLANDC__, > 0x551) \ || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x842)) \ || (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION))