/* Copyright Redshift Software, Inc. 2008-2011 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_PREDEF_LIBRARY_C_GNU_H #define BOOST_PREDEF_LIBRARY_C_GNU_H #include #include #if defined(__STDC__) #include #elif defined(__cplusplus) #include #endif /*` [heading `BOOST_LIBC_GNU`] [@http://en.wikipedia.org/wiki/Glibc GNU glibc] Standard C library. Version number available as major, and minor. */ #define BOOST_LIBC_GNU BOOST_VERSION_NUMBER(0,0,0) #if defined(__GLIBC__) || defined(__GNU_LIBRARY__) #undef BOOST_LIBC_GNU #if defined(__GLIBC__) #define BOOST_LIBC_GNU \ BOOST_VERSION_NUMBER(__GLIBC__,__GLIBC_MINOR__,0) #else #define BOOST_LIBC_GNU \ BOOST_VERSION_NUMBER(__GNU_LIBRARY__,__GNU_LIBRARY_MINOR__,0) #endif #endif #include BOOST_PREDEF_DECLARE_TEST(BOOST_LIBC_GNU,"GNU") #endif