annotate DEPENDENCIES/generic/include/boost/predef/library/c/gnu.h @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /*
Chris@101 2 Copyright Rene Rivera 2008-2013
Chris@16 3 Distributed under the Boost Software License, Version 1.0.
Chris@16 4 (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 5 http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6 */
Chris@16 7
Chris@16 8 #ifndef BOOST_PREDEF_LIBRARY_C_GNU_H
Chris@16 9 #define BOOST_PREDEF_LIBRARY_C_GNU_H
Chris@16 10
Chris@16 11 #include <boost/predef/version_number.h>
Chris@16 12 #include <boost/predef/make.h>
Chris@16 13
Chris@16 14 #include <boost/predef/library/c/_prefix.h>
Chris@16 15
Chris@16 16 #if defined(__STDC__)
Chris@16 17 #include <stddef.h>
Chris@16 18 #elif defined(__cplusplus)
Chris@16 19 #include <cstddef>
Chris@16 20 #endif
Chris@16 21
Chris@16 22 /*`
Chris@16 23 [heading `BOOST_LIB_C_GNU`]
Chris@16 24
Chris@16 25 [@http://en.wikipedia.org/wiki/Glibc GNU glibc] Standard C library.
Chris@16 26 Version number available as major, and minor.
Chris@16 27
Chris@16 28 [table
Chris@16 29 [[__predef_symbol__] [__predef_version__]]
Chris@16 30
Chris@16 31 [[`__GLIBC__`] [__predef_detection__]]
Chris@16 32 [[`__GNU_LIBRARY__`] [__predef_detection__]]
Chris@16 33
Chris@16 34 [[`__GLIBC__`, `__GLIBC_MINOR__`] [V.R.0]]
Chris@16 35 [[`__GNU_LIBRARY__`, `__GNU_LIBRARY_MINOR__`] [V.R.0]]
Chris@16 36 ]
Chris@16 37 */
Chris@16 38
Chris@16 39 #define BOOST_LIB_C_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
Chris@16 40
Chris@16 41 #if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
Chris@16 42 # undef BOOST_LIB_C_GNU
Chris@16 43 # if defined(__GLIBC__)
Chris@16 44 # define BOOST_LIB_C_GNU \
Chris@16 45 BOOST_VERSION_NUMBER(__GLIBC__,__GLIBC_MINOR__,0)
Chris@16 46 # else
Chris@16 47 # define BOOST_LIB_C_GNU \
Chris@16 48 BOOST_VERSION_NUMBER(__GNU_LIBRARY__,__GNU_LIBRARY_MINOR__,0)
Chris@16 49 # endif
Chris@16 50 #endif
Chris@16 51
Chris@16 52 #if BOOST_LIB_C_GNU
Chris@16 53 # define BOOST_LIB_C_GNU_AVAILABLE
Chris@16 54 #endif
Chris@16 55
Chris@16 56 #define BOOST_LIB_C_GNU_NAME "GNU"
Chris@16 57
Chris@16 58 #include <boost/predef/detail/test.h>
Chris@16 59 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_GNU,BOOST_LIB_C_GNU_NAME)
Chris@16 60
Chris@16 61
Chris@16 62 #endif