Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-12-11 13:53:58


Author: johnmaddock
Date: 2007-12-11 13:53:58 EST (Tue, 11 Dec 2007)
New Revision: 41977
URL: http://svn.boost.org/trac/boost/changeset/41977

Log:
Merge fix for #1474.
Text files modified:
   branches/release/boost/tr1/detail/config.hpp | 12 ++++++++++++
   1 files changed, 12 insertions(+), 0 deletions(-)

Modified: branches/release/boost/tr1/detail/config.hpp
==============================================================================
--- branches/release/boost/tr1/detail/config.hpp (original)
+++ branches/release/boost/tr1/detail/config.hpp 2007-12-11 13:53:58 EST (Tue, 11 Dec 2007)
@@ -109,6 +109,18 @@
 
 #endif
 
+#if defined(_MSC_VER) && (_MSC_VER >= 1500) \
+ && defined(_MSC_FULL_VER) && \
+ !defined(__SGI_STL_PORT) && \
+ !defined(_STLPORT_VERSION)
+//
+// MSVC-9.0 defines a not-quite TR1 conforming hash
+// function object in <functional>, so we must define
+// this here:
+//
+# define BOOST_HAS_TR1_HASH
+#endif
+
 #include <boost/config.hpp>
 
 #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