File indexing completed on 2025-01-18 09:48:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_LIBRARY_C_GNU_H
0009 #define BOOST_PREDEF_LIBRARY_C_GNU_H
0010
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013
0014 #include <boost/predef/library/c/_prefix.h>
0015
0016 #if defined(__STDC__)
0017 #include <stddef.h>
0018 #elif defined(__cplusplus)
0019 #include <cstddef>
0020 #endif
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040 #define BOOST_LIB_C_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
0041
0042 #if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
0043 # undef BOOST_LIB_C_GNU
0044 # if defined(__GLIBC__)
0045 # define BOOST_LIB_C_GNU \
0046 BOOST_VERSION_NUMBER(__GLIBC__,__GLIBC_MINOR__,0)
0047 # else
0048 # define BOOST_LIB_C_GNU \
0049 BOOST_VERSION_NUMBER(__GNU_LIBRARY__,__GNU_LIBRARY_MINOR__,0)
0050 # endif
0051 #endif
0052
0053 #if BOOST_LIB_C_GNU
0054 # define BOOST_LIB_C_GNU_AVAILABLE
0055 #endif
0056
0057 #define BOOST_LIB_C_GNU_NAME "GNU"
0058
0059 #endif
0060
0061 #include <boost/predef/detail/test.h>
0062 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_GNU,BOOST_LIB_C_GNU_NAME)