diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-08-28 07:56:15 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-08-28 07:56:15 -0400 |
commit | 86fbc3f83d678b6c73e424a9813e453c6bdf7ac7 (patch) | |
tree | 979d7f8f05b2f318fb458a1a45b62ba96c91d667 | |
parent | 3593084771c7806aa5774aa9360805d846eebb65 (diff) | |
download | boost-86fbc3f83d678b6c73e424a9813e453c6bdf7ac7.tar.gz boost-86fbc3f83d678b6c73e424a9813e453c6bdf7ac7.tar.bz2 boost-86fbc3f83d678b6c73e424a9813e453c6bdf7ac7.zip |
build with glibc 2.18
-rw-r--r-- | boost/cstdint.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/cstdint.hpp b/boost/cstdint.hpp index ea84b65062..d466ae5f6f 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 |