forked from boostorg/preprocessor
Updated limit implementation.
This commit is contained in:
@ -17,11 +17,21 @@
|
||||
#
|
||||
# /* BOOST_PP_INC */
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
|
||||
# define BOOST_PP_INC(x) BOOST_PP_INC_I(x)
|
||||
# else
|
||||
# define BOOST_PP_INC(x) BOOST_PP_INC_OO((x))
|
||||
# define BOOST_PP_INC_OO(par) BOOST_PP_INC_I ## par
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_INC_I(x) BOOST_PP_INC_ ## x
|
||||
#
|
||||
# include <boost/preprocessor/config/limits.hpp>
|
||||
#
|
||||
# if BOOST_PP_LIMIT_MAG == 256
|
||||
# include <boost/preprocessor/arithmetic/limits/inc_256.hpp>
|
||||
# elif BOOST_PP_LIMIT_MAG == 512
|
||||
# include <boost/preprocessor/arithmetic/limits/inc_256.hpp>
|
||||
# include <boost/preprocessor/arithmetic/limits/inc_512.hpp>
|
||||
# else
|
||||
# error Incorrect value for the BOOST_PP_LIMIT_MAG limit
|
||||
|
Reference in New Issue
Block a user