forked from boostorg/preprocessor
IBM workaround
[SVN r29731]
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
# ifndef BOOST_PREPROCESSOR_SEQ_ELEM_HPP
|
||||
# define BOOST_PREPROCESSOR_SEQ_ELEM_HPP
|
||||
#
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
# include <boost/preprocessor/facilities/empty.hpp>
|
||||
#
|
||||
@ -34,7 +35,11 @@
|
||||
# define BOOST_PP_SEQ_ELEM_III(im) BOOST_PP_SEQ_ELEM_IV(im)
|
||||
# define BOOST_PP_SEQ_ELEM_IV(x, _) x
|
||||
# else
|
||||
# if defined(__IBMC__) || defined(__IBMCPP__)
|
||||
# define BOOST_PP_SEQ_ELEM_I(i, seq) BOOST_PP_SEQ_ELEM_II(BOOST_PP_CAT(BOOST_PP_SEQ_ELEM_ ## i, seq))
|
||||
# else
|
||||
# define BOOST_PP_SEQ_ELEM_I(i, seq) BOOST_PP_SEQ_ELEM_II(BOOST_PP_SEQ_ELEM_ ## i seq)
|
||||
# endif
|
||||
# define BOOST_PP_SEQ_ELEM_II(im) BOOST_PP_SEQ_ELEM_III(im)
|
||||
# define BOOST_PP_SEQ_ELEM_III(x, _) x
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user