forked from boostorg/preprocessor
Fix dec limits. Allow 1024 in number and seq limits.
This commit is contained in:
@ -15,7 +15,6 @@
|
||||
# ifndef BOOST_PREPROCESSOR_ARITHMETIC_DEC_1024_HPP
|
||||
# define BOOST_PREPROCESSOR_ARITHMETIC_DEC_1024_HPP
|
||||
#
|
||||
# define BOOST_PP_DEC_513 512
|
||||
# define BOOST_PP_DEC_514 513
|
||||
# define BOOST_PP_DEC_515 514
|
||||
# define BOOST_PP_DEC_516 515
|
||||
@ -527,5 +526,6 @@
|
||||
# define BOOST_PP_DEC_1022 1021
|
||||
# define BOOST_PP_DEC_1023 1022
|
||||
# define BOOST_PP_DEC_1024 1023
|
||||
# define BOOST_PP_DEC_1025 1024
|
||||
#
|
||||
# endif
|
||||
|
@ -271,5 +271,6 @@
|
||||
# define BOOST_PP_DEC_254 253
|
||||
# define BOOST_PP_DEC_255 254
|
||||
# define BOOST_PP_DEC_256 255
|
||||
# define BOOST_PP_DEC_257 256
|
||||
#
|
||||
# endif
|
||||
|
@ -15,7 +15,6 @@
|
||||
# ifndef BOOST_PREPROCESSOR_ARITHMETIC_DEC_512_HPP
|
||||
# define BOOST_PREPROCESSOR_ARITHMETIC_DEC_512_HPP
|
||||
#
|
||||
# define BOOST_PP_DEC_257 256
|
||||
# define BOOST_PP_DEC_258 257
|
||||
# define BOOST_PP_DEC_259 258
|
||||
# define BOOST_PP_DEC_260 259
|
||||
@ -271,5 +270,6 @@
|
||||
# define BOOST_PP_DEC_510 509
|
||||
# define BOOST_PP_DEC_511 510
|
||||
# define BOOST_PP_DEC_512 511
|
||||
# define BOOST_PP_DEC_513 512
|
||||
#
|
||||
# endif
|
||||
|
@ -69,7 +69,7 @@
|
||||
#else
|
||||
#
|
||||
# if defined(BOOST_PP_LIMIT_MAG)
|
||||
# if !(BOOST_PP_LIMIT_MAG == 256 || BOOST_PP_LIMIT_MAG == 512)
|
||||
# if !(BOOST_PP_LIMIT_MAG == 256 || BOOST_PP_LIMIT_MAG == 512 || BOOST_PP_LIMIT_MAG == 1024)
|
||||
# undef BOOST_PP_LIMIT_MAG
|
||||
# define BOOST_PP_LIMIT_MAG 256
|
||||
# define BOOST_PP_LIMIT_WHILE 256
|
||||
@ -136,7 +136,7 @@
|
||||
# endif
|
||||
#
|
||||
# if defined(BOOST_PP_LIMIT_SEQ)
|
||||
# if !(BOOST_PP_LIMIT_SEQ == 256 || BOOST_PP_LIMIT_SEQ == 512)
|
||||
# if !(BOOST_PP_LIMIT_SEQ == 256 || BOOST_PP_LIMIT_SEQ == 512 || BOOST_PP_LIMIT_SEQ == 1024)
|
||||
# undef BOOST_PP_LIMIT_SEQ
|
||||
# define BOOST_PP_LIMIT_SEQ 256
|
||||
# elif BOOST_PP_LIMIT_SEQ > BOOST_PP_LIMIT_MAG
|
||||
|
Reference in New Issue
Block a user