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:
Rene Rivera committed 2013-01-18 21:25:30 -06:00
1 parent 68470ca33e
commit 9fcecba7cc
89 files changed
+857 -403

No files matched your search

+5 -1
View File
@@ -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>
+5 -1
View File
@@ -25,7 +25,7 @@ http://www.boost.org/LICENSE_1_0.txt)
]
*/
#define BOOST_LIB_C_UC BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_C_UC BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__UCLIBC__)
# undef BOOST_LIB_C_UC
@@ -33,6 +33,10 @@ http://www.boost.org/LICENSE_1_0.txt)
__UCLIBC_MAJOR__,__UCLIBC_MINOR__,__UCLIBC_SUBLEVEL__)
#endif
#if BOOST_LIB_C_UC
# define BOOST_LIB_C_UC_AVAILABLE
#endif
#define BOOST_LIB_C_UC_NAME "uClibc"
#include <boost/predef/detail/test.h>
+5 -1
View File
@@ -26,13 +26,17 @@ Version number available as major, minor, and patch.
]
*/
#define BOOST_LIB_C_VMS BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_C_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__CRTL_VER)
# undef BOOST_LIB_C_VMS
# define BOOST_LIB_C_VMS BOOST_PREDEF_MAKE_10_VVRR0PP00(__CRTL_VER)
#endif
#if BOOST_LIB_C_VMS
# define BOOST_LIB_C_VMS_AVAILABLE
#endif
#define BOOST_LIB_C_VMS_NAME "VMS"
#include <boost/predef/detail/test.h>
+12 -6
View File
@@ -27,17 +27,23 @@ Version number available as major, minor, and patch.
]
*/
#define BOOST_LIB_C_ZOS BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_LIB_C_ZOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__LIBREL__)
# undef BOOST_LIB_C_ZOS
# if defined(__LIBREL__)
# if !defined(BOOST_LIB_C_ZOS) && defined(__LIBREL__)
# define BOOST_LIB_C_ZOS BOOST_PREDEF_MAKE_0X_VRRPPPP(__LIBREL__)
# elif defined(__TARGET_LIB__)
# define BOOST_LIB_C_ZOS BOOST_PREDEF_MAKE_0X_VRRPPPP(__TARGET_LIB__)
# else
# define BOOST_LIB_C_ZOS BOOST_VERSION_NUMBER(0,0,1)
# endif
# if !defined(BOOST_LIB_C_ZOS) && defined(__TARGET_LIB__)
# define BOOST_LIB_C_ZOS BOOST_PREDEF_MAKE_0X_VRRPPPP(__TARGET_LIB__)
# endif
# if !defined(BOOST_LIB_C_ZOS)
# define BOOST_LIB_C_ZOS BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if BOOST_LIB_C_ZOS
# define BOOST_LIB_C_ZOS_AVAILABLE
#endif
#define BOOST_LIB_C_ZOS_NAME "z/OS"