IBM workaround

[SVN r29731]
This commit is contained in:
Paul Mensonides
2005-06-22 11:02:32 +00:00
parent 33af6f8d98
commit 65496dd1d2

View File

@ -12,6 +12,7 @@
# ifndef BOOST_PREPROCESSOR_SEQ_ELEM_HPP # ifndef BOOST_PREPROCESSOR_SEQ_ELEM_HPP
# define 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/config/config.hpp>
# include <boost/preprocessor/facilities/empty.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_III(im) BOOST_PP_SEQ_ELEM_IV(im)
# define BOOST_PP_SEQ_ELEM_IV(x, _) x # define BOOST_PP_SEQ_ELEM_IV(x, _) x
# else # else
# define BOOST_PP_SEQ_ELEM_I(i, seq) BOOST_PP_SEQ_ELEM_II(BOOST_PP_SEQ_ELEM_ ## i seq) # 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_II(im) BOOST_PP_SEQ_ELEM_III(im)
# define BOOST_PP_SEQ_ELEM_III(x, _) x # define BOOST_PP_SEQ_ELEM_III(x, _) x
# endif # endif