mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-16 14:02:17 +02:00
bumped up __MWERKS__ version check for 8.1
[SVN r14369]
This commit is contained in:
@ -15,7 +15,7 @@
|
|||||||
#
|
#
|
||||||
# define BOOST_PP_ARRAY(size, data) (size, data)
|
# define BOOST_PP_ARRAY(size, data) (size, data)
|
||||||
#
|
#
|
||||||
# if !defined(__MWERKS__) || __MWERKS__ > 0x3000
|
# if !defined(__MWERKS__) || __MWERKS__ > 0x3001
|
||||||
# define BOOST_PP_ARRAY_SIZE(arr) BOOST_PP_ARRAY_SIZE_I arr
|
# define BOOST_PP_ARRAY_SIZE(arr) BOOST_PP_ARRAY_SIZE_I arr
|
||||||
# else
|
# else
|
||||||
# define BOOST_PP_ARRAY_SIZE(arr) BOOST_PP_ARRAY_SIZE_D(arr)
|
# define BOOST_PP_ARRAY_SIZE(arr) BOOST_PP_ARRAY_SIZE_D(arr)
|
||||||
@ -24,7 +24,7 @@
|
|||||||
#
|
#
|
||||||
# define BOOST_PP_ARRAY_SIZE_I(size, data) size
|
# define BOOST_PP_ARRAY_SIZE_I(size, data) size
|
||||||
#
|
#
|
||||||
# if !defined(__MWERKS__) || __MWERKS__ > 0x3000
|
# if !defined(__MWERKS__) || __MWERKS__ > 0x3001
|
||||||
# define BOOST_PP_ARRAY_DATA(arr) BOOST_PP_ARRAY_DATA_I arr
|
# define BOOST_PP_ARRAY_DATA(arr) BOOST_PP_ARRAY_DATA_I arr
|
||||||
# else
|
# else
|
||||||
# define BOOST_PP_ARRAY_DATA(arr) BOOST_PP_ARRAY_DATA_D(arr)
|
# define BOOST_PP_ARRAY_DATA(arr) BOOST_PP_ARRAY_DATA_D(arr)
|
||||||
@ -33,7 +33,7 @@
|
|||||||
#
|
#
|
||||||
# define BOOST_PP_ARRAY_DATA_I(size, data) data
|
# define BOOST_PP_ARRAY_DATA_I(size, data) data
|
||||||
#
|
#
|
||||||
# if !defined(__MWERKS__) || __MWERKS__ > 0x3000
|
# if !defined(__MWERKS__) || __MWERKS__ > 0x3001
|
||||||
# define BOOST_PP_ARRAY_ELEM(i, arr) BOOST_PP_TUPLE_ELEM(BOOST_PP_ARRAY_SIZE_I arr, i, BOOST_PP_ARRAY_DATA_I arr)
|
# define BOOST_PP_ARRAY_ELEM(i, arr) BOOST_PP_TUPLE_ELEM(BOOST_PP_ARRAY_SIZE_I arr, i, BOOST_PP_ARRAY_DATA_I arr)
|
||||||
# else
|
# else
|
||||||
# define BOOST_PP_ARRAY_ELEM(i, arr) BOOST_PP_ARRAY_ELEM_D(i, arr)
|
# define BOOST_PP_ARRAY_ELEM(i, arr) BOOST_PP_ARRAY_ELEM_D(i, arr)
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
# define BOOST_PP_DETAIL_EXPAND(X) X
|
# define BOOST_PP_DETAIL_EXPAND(X) X
|
||||||
# if !defined(__MWERKS__) || __MWERKS__ > 0x3000
|
# if !defined(__MWERKS__) || __MWERKS__ > 0x3001
|
||||||
# define BOOST_PP_DETAIL_EXPAND2(X,Y) BOOST_PP_DETAIL_EXPAND(X Y)
|
# define BOOST_PP_DETAIL_EXPAND2(X,Y) BOOST_PP_DETAIL_EXPAND(X Y)
|
||||||
# else
|
# else
|
||||||
# define BOOST_PP_DETAIL_EXPAND2(X, Y) BOOST_PP_DETAIL_EXPAND2_DELAY(X, Y)
|
# define BOOST_PP_DETAIL_EXPAND2(X, Y) BOOST_PP_DETAIL_EXPAND2_DELAY(X, Y)
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#
|
#
|
||||||
# include <boost/preprocessor/stringize.hpp>
|
# include <boost/preprocessor/stringize.hpp>
|
||||||
#
|
#
|
||||||
# if !defined(__MWERKS__) || __MWERKS__ > 0x3000
|
# if !defined(__MWERKS__) || __MWERKS__ > 0x3001
|
||||||
# define BOOST_PP_DETAIL_LINE(text) 1 BOOST_PP_STRINGIZE(text)
|
# define BOOST_PP_DETAIL_LINE(text) 1 BOOST_PP_STRINGIZE(text)
|
||||||
# else
|
# else
|
||||||
# define BOOST_PP_DETAIL_LINE(text) 1
|
# define BOOST_PP_DETAIL_LINE(text) 1
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
# define BOOST_PP_SET_ITERATION_FINISH() BOOST_PP_DETAIL_CAT3(<boost/preprocessor/detail/iterate/upper, BOOST_PP_INC(BOOST_PP_ITERATION_DEPTH()),.hpp>)
|
# define BOOST_PP_SET_ITERATION_FINISH() BOOST_PP_DETAIL_CAT3(<boost/preprocessor/detail/iterate/upper, BOOST_PP_INC(BOOST_PP_ITERATION_DEPTH()),.hpp>)
|
||||||
# define BOOST_PP_SET_ITERATION_FLAGS() BOOST_PP_DETAIL_CAT3(<boost/preprocessor/detail/iterate/flags, BOOST_PP_INC(BOOST_PP_ITERATION_DEPTH()),.hpp>)
|
# define BOOST_PP_SET_ITERATION_FLAGS() BOOST_PP_DETAIL_CAT3(<boost/preprocessor/detail/iterate/flags, BOOST_PP_INC(BOOST_PP_ITERATION_DEPTH()),.hpp>)
|
||||||
#
|
#
|
||||||
# if !defined(__MWERKS__) || __MWERKS__ > 0x3000
|
# if !defined(__MWERKS__) || __MWERKS__ > 0x3001
|
||||||
# define BOOST_PP_LINE(line, file) line BOOST_PP_STRINGIZE(BOOST_PP_DETAIL_CAT2(file, BOOST_PP_DETAIL_CAT2(BOOST_PP_LINE_, BOOST_PP_ITERATION_DEPTH())()))
|
# define BOOST_PP_LINE(line, file) line BOOST_PP_STRINGIZE(BOOST_PP_DETAIL_CAT2(file, BOOST_PP_DETAIL_CAT2(BOOST_PP_LINE_, BOOST_PP_ITERATION_DEPTH())()))
|
||||||
# else
|
# else
|
||||||
# define BOOST_PP_LINE(line, file) __LINE__ __FILE__
|
# define BOOST_PP_LINE(line, file) __LINE__ __FILE__
|
||||||
|
@ -32,7 +32,7 @@ BOOST_PP_TUPLE_ELEM(2,1,(A,B))
|
|||||||
</ul>
|
</ul>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(__MWERKS__) || __MWERKS__ > 0x3000
|
#if !defined(__MWERKS__) || __MWERKS__ > 0x3001
|
||||||
# define BOOST_PP_TUPLE_ELEM(SIZE_OF_TUPLE,INDEX,TUPLE)\
|
# define BOOST_PP_TUPLE_ELEM(SIZE_OF_TUPLE,INDEX,TUPLE)\
|
||||||
BOOST_PP_DETAIL_EXPAND2(\
|
BOOST_PP_DETAIL_EXPAND2(\
|
||||||
BOOST_PP_DETAIL_CAT2(BOOST_PP_TUPLE16_ELEM,INDEX)\
|
BOOST_PP_DETAIL_CAT2(BOOST_PP_TUPLE16_ELEM,INDEX)\
|
||||||
|
Reference in New Issue
Block a user