Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84950 - trunk/boost
From: john_at_[hidden]
Date: 2013-07-04 05:13:24


Author: johnmaddock
Date: 2013-07-04 05:13:23 EDT (Thu, 04 Jul 2013)
New Revision: 84950
URL: http://svn.boost.org/trac/boost/changeset/84950

Log:
Patch for recent versions of glibc which always assume int64_t support.
Fixes #8731.

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

Modified: trunk/boost/cstdint.hpp
==============================================================================
--- trunk/boost/cstdint.hpp Wed Jul 3 18:14:27 2013 (r84949)
+++ trunk/boost/cstdint.hpp 2013-07-04 05:13:23 EDT (Thu, 04 Jul 2013) (r84950)
@@ -41,7 +41,10 @@
 // so we disable use of stdint.h when GLIBC does not define __GLIBC_HAVE_LONG_LONG.
 // See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990
 //
-#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))
+#if defined(BOOST_HAS_STDINT_H) \
+ && (!defined(__GLIBC__) \
+ || defined(__GLIBC_HAVE_LONG_LONG) \
+ || (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))
 
 // The following #include is an implementation artifact; not part of interface.
 # ifdef __hpux


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