Fix boost compilation issue with glibc 2.18
This commit is contained in:
parent
6fcd1e5e2a
commit
7cc399a017
@ -41,7 +41,10 @@
|
|||||||
// so we disable use of stdint.h when GLIBC does not define __GLIBC_HAVE_LONG_LONG.
|
// 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
|
// 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.
|
// The following #include is an implementation artifact; not part of interface.
|
||||||
# ifdef __hpux
|
# ifdef __hpux
|
||||||
|
Loading…
x
Reference in New Issue
Block a user