Salome HOME
merge from master
[tools/sat_salome.git] / products / patches / boost-1.52.0_recent_glibc_versions.patch
1 diff -rupN boost-1.52.0_old/boost/cstdint.hpp boost-1.52.0_new/boost/cstdint.hpp
2 --- boost-1.52.0_old/boost/cstdint.hpp  2012-09-28 20:34:12.000000000 +0200
3 +++ boost-1.52.0_new/boost/cstdint.hpp  2014-05-07 14:07:44.109462857 +0200
4 @@ -41,7 +41,7 @@
5  // so we disable use of stdint.h when GLIBC does not define __GLIBC_HAVE_LONG_LONG.
6  // See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990
7  //
8 -#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))
9 +#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG) || (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))
10  
11  // The following #include is an implementation artifact; not part of interface.
12  # ifdef __hpux