Boost logo

Boost-Commit :

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


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

Log:
Fixes #1474.
Text files modified:
   trunk/boost/tr1/detail/config.hpp | 12 ++++++++++++
   1 files changed, 12 insertions(+), 0 deletions(-)

Modified: trunk/boost/tr1/detail/config.hpp
==============================================================================
--- trunk/boost/tr1/detail/config.hpp (original)
+++ trunk/boost/tr1/detail/config.hpp 2007-12-11 13:51:57 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