Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef BOOST_PREDEF_LIBRARY_C_GNU_H
00009 #define BOOST_PREDEF_LIBRARY_C_GNU_H
00010
00011 #include <boost/predef/version_number.h>
00012 #include <boost/predef/make.h>
00013
00014 #include <boost/predef/library/c/_prefix.h>
00015
00016 #if defined(__STDC__)
00017 #include <stddef.h>
00018 #elif defined(__cplusplus)
00019 #include <cstddef>
00020 #endif
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039 #define BOOST_LIB_C_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
00040
00041 #if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
00042 # undef BOOST_LIB_C_GNU
00043 # if defined(__GLIBC__)
00044 # define BOOST_LIB_C_GNU \
00045 BOOST_VERSION_NUMBER(__GLIBC__,__GLIBC_MINOR__,0)
00046 # else
00047 # define BOOST_LIB_C_GNU \
00048 BOOST_VERSION_NUMBER(__GNU_LIBRARY__,__GNU_LIBRARY_MINOR__,0)
00049 # endif
00050 #endif
00051
00052 #if BOOST_LIB_C_GNU
00053 # define BOOST_LIB_C_GNU_AVAILABLE
00054 #endif
00055
00056 #define BOOST_LIB_C_GNU_NAME "GNU"
00057
00058 #endif
00059
00060 #include <boost/predef/detail/test.h>
00061 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_GNU,BOOST_LIB_C_GNU_NAME)