Boost logo

Boost-Commit :

From: juergen.hunold_at_[hidden]
Date: 2008-08-20 07:51:45


Author: jhunold
Date: 2008-08-20 07:51:44 EDT (Wed, 20 Aug 2008)
New Revision: 48254
URL: http://svn.boost.org/trac/boost/changeset/48254

Log:
Fix: Added check for already defined BOOST_NO_HASH and BOOST_NO_SLIST

Text files modified:
   trunk/boost/config/suffix.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/config/suffix.hpp
==============================================================================
--- trunk/boost/config/suffix.hpp (original)
+++ trunk/boost/config/suffix.hpp 2008-08-20 07:51:44 EDT (Wed, 20 Aug 2008)
@@ -266,11 +266,11 @@
 // Define BOOST_NO_SLIST and BOOST_NO_HASH if required.
 // Note that this is for backwards compatibility only.
 //
-# ifndef BOOST_HAS_SLIST
+# if !defined(BOOST_HAS_SLIST) && !defined(BOOST_NO_SLIST)
 # define BOOST_NO_SLIST
 # endif
 
-# ifndef BOOST_HAS_HASH
+# if !defined(BOOST_HAS_HASH) && !defined(BOOST_NO_HASH)
 # define BOOST_NO_HASH
 # endif
 


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