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:
@ -26,13 +26,17 @@ Version number available as major, minor, and patch.
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_COMP_DMC BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_COMP_DMC BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__DMC__)
|
||||
# undef BOOST_COMP_DMC
|
||||
# define BOOST_COMP_DMC BOOST_PREDEF_MAKE_0X_VRP(__DMC__)
|
||||
#endif
|
||||
|
||||
#if BOOST_COMP_DMC
|
||||
# define BOOST_COMP_DMC_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_COMP_DMC_NAME "Digital Mars"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
|
Reference in New Issue
Block a user