|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52269 - trunk/boost/config/stdlib
From: DDeakins_at_[hidden]
Date: 2009-04-08 17:08:00
Author: davedeakins
Date: 2009-04-08 17:08:00 EDT (Wed, 08 Apr 2009)
New Revision: 52269
URL: http://svn.boost.org/trac/boost/changeset/52269
Log:
As of STLport 5.2, unordered_set and unordered_map have been moved from the std:: namespace to the std::tr1:: namespace
Text files modified:
trunk/boost/config/stdlib/stlport.hpp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
Modified: trunk/boost/config/stdlib/stlport.hpp
==============================================================================
--- trunk/boost/config/stdlib/stlport.hpp (original)
+++ trunk/boost/config/stdlib/stlport.hpp 2009-04-08 17:08:00 EDT (Wed, 08 Apr 2009)
@@ -61,9 +61,14 @@
# endif
#endif
-#if defined(_STLPORT_VERSION) && (_STLPORT_VERSION < 0x500)
+#if defined(_STLPORT_VERSION) && ((_STLPORT_VERSION < 0x500) || (_STLPORT_VERSION >= 0x520))
# define BOOST_NO_STD_UNORDERED
#endif
+
+#if defined(_STLPORT_VERSION) && (_STLPORT_VERSION >= 0x520)
+# define BOOST_HAS_TR1_UNORDERED_SET
+# define BOOST_HAS_TR1_UNORDERED_MAP
+#endif
//
// Without member template support enabled, their are no template
// iterate constructors, and no std::allocator:
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