Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2008-07-14 14:43:58


Author: dgregor
Date: 2008-07-14 14:43:58 EDT (Mon, 14 Jul 2008)
New Revision: 47424
URL: http://svn.boost.org/trac/boost/changeset/47424

Log:
Detect the presence of backward/hash_set and backward/hash_map appropriately. Fixes #1462 (again)
Text files modified:
   trunk/boost/config/stdlib/libstdcpp3.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/config/stdlib/libstdcpp3.hpp
==============================================================================
--- trunk/boost/config/stdlib/libstdcpp3.hpp (original)
+++ trunk/boost/config/stdlib/libstdcpp3.hpp 2008-07-14 14:43:58 EDT (Mon, 14 Jul 2008)
@@ -68,7 +68,7 @@
 # define BOOST_HAS_SLIST
 # define BOOST_HAS_HASH
 # define BOOST_SLIST_HEADER <ext/slist>
-# if defined(__GLIBCXX__) && __GLIBCXX__ < 20071018 // GCC <= 4.3.0
+# if !defined(__GNUC__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 3)
 # define BOOST_HASH_SET_HEADER <ext/hash_set>
 # define BOOST_HASH_MAP_HEADER <ext/hash_map>
 # else


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk