Ticket #2377: proto.patch
File proto.patch, 1.3 KB (added by , 14 years ago) |
---|
-
boost/proto/expr.hpp
146 146 147 147 #endif // BOOST_PROTO_EXPR_HPP_EAN_04_01_2005 148 148 149 #elif BOOST_PP_ITERATION_DEPTH() == 1 149 // For gcc 4.4 compatability, we must include the 150 // BOOST_PP_ITERATION_DEPTH test inside an #else clause. 151 #else // BOOST_PP_IS_ITERATING 152 #if BOOST_PP_ITERATION_DEPTH() == 1 150 153 151 154 #define ARG_COUNT BOOST_PP_MAX(1, BOOST_PP_ITERATION()) 152 155 #define IS_TERMINAL 0 == BOOST_PP_ITERATION() … … 477 480 478 481 #undef N 479 482 483 #endif // BOOST_PP_ITERATION_DEPTH() 480 484 #endif -
boost/xpressive/proto/expr.hpp
134 134 135 135 #endif // BOOST_PROTO_EXPR_HPP_EAN_04_01_2005 136 136 137 #elif BOOST_PP_ITERATION_DEPTH() == 1 137 // For gcc 4.4 compatability, we must include the 138 // BOOST_PP_ITERATION_DEPTH test inside an #else clause. 139 #else // BOOST_PP_IS_ITERATING 140 #if BOOST_PP_ITERATION_DEPTH() == 1 138 141 139 142 #define ARG_COUNT BOOST_PP_MAX(1, BOOST_PP_ITERATION()) 140 143 #define IS_TERMINAL 0 == BOOST_PP_ITERATION() … … 404 407 405 408 #undef N 406 409 410 #endif // BOOST_PP_ITERATION_DEPTH() 407 411 #endif