forked from boostorg/predef
Most changes from review comments implemented. Remove use of "#elif" for
backward PP compatability. Add BOOST_category_item_AVAILABLE as a defined, or not, symbol for use with "#ifdef" or "#ifndef". Add documentation of macros used for detection and version information. Also replace direct use of BVN(0,0,0) and BVN(0,0,1) with more meaningful macros that are globally defined, and hence consistent.
This commit is contained in:
1 parent
68470ca33e
commit
9fcecba7cc
89 files changed
+857
-403
No files matched your search
@@ -34,7 +34,7 @@ Version number available as major, and minor.
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_LIB_C_GNU BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_LIB_C_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
|
||||
# undef BOOST_LIB_C_GNU
|
||||
@@ -47,6 +47,10 @@ Version number available as major, and minor.
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_C_GNU
|
||||
# define BOOST_LIB_C_GNU_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_C_GNU_NAME "GNU"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
|
||||
Reference in new issue
Block a user