Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-06-02 11:15:16


Author: johnmaddock
Date: 2008-06-02 11:15:16 EDT (Mon, 02 Jun 2008)
New Revision: 46044
URL: http://svn.boost.org/trac/boost/changeset/46044

Log:
Disable hash and slist support when _STLP_NO_EXTENSIONS is defined.
Text files modified:
   trunk/boost/config/stdlib/stlport.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/config/stdlib/stlport.hpp
==============================================================================
--- trunk/boost/config/stdlib/stlport.hpp (original)
+++ trunk/boost/config/stdlib/stlport.hpp 2008-06-02 11:15:16 EDT (Mon, 02 Jun 2008)
@@ -98,8 +98,10 @@
 //
 // We always have SGI style hash_set, hash_map, and slist:
 //
+#ifndef _STLP_NO_EXTENSIONS
 #define BOOST_HAS_HASH
 #define BOOST_HAS_SLIST
+#endif
 
 //
 // STLport does a good job of importing names into namespace std::,


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