summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-08-28 11:56:15 (GMT)
committerAnas Nashif <anas.nashif@intel.com>2013-08-28 11:56:15 (GMT)
commit86fbc3f83d678b6c73e424a9813e453c6bdf7ac7 (patch)
tree979d7f8f05b2f318fb458a1a45b62ba96c91d667
parent3593084771c7806aa5774aa9360805d846eebb65 (diff)
downloadboost-86fbc3f83d678b6c73e424a9813e453c6bdf7ac7.zip
boost-86fbc3f83d678b6c73e424a9813e453c6bdf7ac7.tar.gz
boost-86fbc3f83d678b6c73e424a9813e453c6bdf7ac7.tar.bz2
build with glibc 2.18refs/changes/51/8851/1
-rw-r--r--boost/cstdint.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/cstdint.hpp b/boost/cstdint.hpp
index ea84b65..d466ae5 100644
--- a/boost/cstdint.hpp
+++ b/boost/cstdint.hpp
@@ -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