patch-boost_cstdint_hpp 864 B

1234567891011121314
  1. --- boost_1_54_0.orig/boost/cstdint.hpp 2013-03-09 23:55:05.000000000 +0100
  2. +++ boost_1_54_0/boost/cstdint.hpp 2013-09-19 16:46:42.000000000 +0200
  3. @@ -41,7 +41,10 @@
  4. // so we disable use of stdint.h when GLIBC does not define __GLIBC_HAVE_LONG_LONG.
  5. // See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990
  6. //
  7. -#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))
  8. +#if defined(BOOST_HAS_STDINT_H) \
  9. + && (!defined(__GLIBC__) \
  10. + || defined(__GLIBC_HAVE_LONG_LONG) \
  11. + || (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))
  12. // The following #include is an implementation artifact; not part of interface.
  13. # ifdef __hpux