Update of /cvsroot/boost/boost/boost/functional/hash
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30530

Modified Files:
      Tag: RC_1_34_0
        hash.hpp 
Log Message:
Hash warning patch 2 see Trac #952

Index: hash.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/functional/hash/hash.hpp,v
retrieving revision 1.27.2.8
retrieving revision 1.27.2.9
diff -u -d -r1.27.2.8 -r1.27.2.9
--- hash.hpp    17 May 2007 23:07:38 -0000      1.27.2.8
+++ hash.hpp    22 May 2007 03:55:10 -0000      1.27.2.9
@@ -46,7 +46,7 @@
     std::size_t hash_value(long);
     std::size_t hash_value(unsigned long);
 
-#if BOOST_HAS_LONG_LONG && defined(_M_X64) && defined(_WIN64)
+#if defined(BOOST_HAS_LONG_LONG) && defined(_M_X64) && defined(_WIN64)
     // On 64-bit windows std::size_t is a typedef for unsigned long long, which
     // isn't due to be supported until Boost 1.35. So add support here.
     // (Technically, Boost.Hash isn't actually documented as supporting
@@ -122,7 +122,7 @@
         return static_cast<std::size_t>(v);
     }
 
-#if BOOST_HAS_LONG_LONG && defined(_M_X64) && defined(_WIN64)
+#if defined(BOOST_HAS_LONG_LONG) && defined(_M_X64) && defined(_WIN64)
     inline std::size_t hash_value(long long v)
     {
         return v;


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to