|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r48971 - trunk/boost/serialization
From: ramey_at_[hidden]
Date: 2008-09-26 02:33:29
Author: ramey
Date: 2008-09-26 02:33:28 EDT (Fri, 26 Sep 2008)
New Revision: 48971
URL: http://svn.boost.org/trac/boost/changeset/48971
Log:
Refined detection of intrinsic 64 bit integers for platforms with long long
Text files modified:
trunk/boost/serialization/collection_traits.hpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/boost/serialization/collection_traits.hpp
==============================================================================
--- trunk/boost/serialization/collection_traits.hpp (original)
+++ trunk/boost/serialization/collection_traits.hpp 2008-09-26 02:33:28 EDT (Fri, 26 Sep 2008)
@@ -54,7 +54,11 @@
#if defined(BOOST_NO_INT64_T)
#define BOOST_NO_INTRINSIC_INT64_T
#else
- #if defined(ULONG_MAX)
+ #if defined(ULLONG_MAX)
+ #if(ULONG_MAX == 18446744073709551615ul) // 2**64 - 1
+ #define BOOST_NO_INTRINSIC_INT64_T
+ #endif
+ #elif defined(ULONG_MAX)
#if(ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615ul) // 2**64 - 1
#define BOOST_NO_INTRINSIC_INT64_T
#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