Index: boost/mpl/aux_/numeric_op.hpp =================================================================== --- boost/mpl/aux_/numeric_op.hpp (revision 47338) +++ boost/mpl/aux_/numeric_op.hpp (working copy) @@ -287,7 +287,8 @@ ///// iteration, depth == 1 -#elif BOOST_PP_ITERATION_DEPTH() == 1 +#else +#if BOOST_PP_ITERATION_DEPTH() == 1 # define i_ BOOST_PP_FRAME_ITERATION(1) @@ -308,4 +309,5 @@ # undef i_ +#endif // BOOST_PP_ITERATION_DEPTH() #endif // BOOST_PP_IS_ITERATING Index: boost/mpl/aux_/advance_backward.hpp =================================================================== --- boost/mpl/aux_/advance_backward.hpp (revision 47338) +++ boost/mpl/aux_/advance_backward.hpp (working copy) @@ -79,7 +79,8 @@ ///// iteration, depth == 1 -#elif BOOST_PP_ITERATION_DEPTH() == 1 +#else +#if BOOST_PP_ITERATION_DEPTH() == 1 #define i_ BOOST_PP_FRAME_ITERATION(1) template<> @@ -121,4 +122,5 @@ # undef AUX778076_ITER_1 # undef AUX778076_ITER_0 +#endif // BOOST_PP_ITERATION_DEPTH() #endif // BOOST_PP_IS_ITERATING Index: boost/mpl/aux_/full_lambda.hpp =================================================================== --- boost/mpl/aux_/full_lambda.hpp (revision 47338) +++ boost/mpl/aux_/full_lambda.hpp (working copy) @@ -227,7 +227,8 @@ ///// iteration, depth == 1 -#elif BOOST_PP_ITERATION_DEPTH() == 1 +#else +#if BOOST_PP_ITERATION_DEPTH() == 1 #define i_ BOOST_PP_FRAME_ITERATION(1) #if i_ > 0 @@ -347,4 +348,5 @@ }; #undef i_ +#endif // BOOST_PP_ITERATION_DEPTH() #endif // BOOST_PP_IS_ITERATING Index: boost/mpl/aux_/advance_forward.hpp =================================================================== --- boost/mpl/aux_/advance_forward.hpp (revision 47338) +++ boost/mpl/aux_/advance_forward.hpp (working copy) @@ -79,7 +79,9 @@ ///// iteration, depth == 1 -#elif BOOST_PP_ITERATION_DEPTH() == 1 +#else +#if BOOST_PP_ITERATION_DEPTH() == 1 + #define i_ BOOST_PP_FRAME_ITERATION(1) template<> @@ -120,4 +122,5 @@ # undef AUX778076_ITER_1 # undef AUX778076_ITER_0 +#endif // BOOST_PP_ITERATION_DEPTH() #endif // BOOST_PP_IS_ITERATING Index: boost/mpl/unpack_args.hpp =================================================================== --- boost/mpl/unpack_args.hpp (revision 47338) +++ boost/mpl/unpack_args.hpp (working copy) @@ -111,7 +111,8 @@ ///// iteration, depth == 1 -#elif BOOST_PP_ITERATION_DEPTH() == 1 +#else +#if BOOST_PP_ITERATION_DEPTH() == 1 # define i_ BOOST_PP_FRAME_ITERATION(1) @@ -143,4 +144,5 @@ # undef i_ +#endif // BOOST_PP_ITERATION_DEPTH() #endif // BOOST_PP_IS_ITERATING Index: boost/mpl/bind.hpp =================================================================== --- boost/mpl/bind.hpp (revision 47338) +++ boost/mpl/bind.hpp (working copy) @@ -361,7 +361,8 @@ ///// iteration, depth == 1 -#elif BOOST_PP_ITERATION_DEPTH() == 1 +#else +#if BOOST_PP_ITERATION_DEPTH() == 1 # define i_ BOOST_PP_FRAME_ITERATION(1) @@ -544,4 +545,5 @@ # endif # undef j_ +#endif // BOOST_PP_ITERATION_DEPTH() #endif // BOOST_PP_IS_ITERATING Index: boost/mpl/apply.hpp =================================================================== --- boost/mpl/apply.hpp (revision 47338) +++ boost/mpl/apply.hpp (working copy) @@ -135,7 +135,8 @@ ///// iteration, depth == 1 -#elif BOOST_PP_ITERATION_DEPTH() == 1 +#else +#if BOOST_PP_ITERATION_DEPTH() == 1 # define i_ BOOST_PP_FRAME_ITERATION(1) @@ -222,4 +223,5 @@ # undef i_ +#endif // BOOST_PP_ITERATION_DEPTH() #endif // BOOST_PP_IS_ITERATING Index: boost/mpl/apply_wrap.hpp =================================================================== --- boost/mpl/apply_wrap.hpp (revision 47338) +++ boost/mpl/apply_wrap.hpp (working copy) @@ -78,7 +78,8 @@ ///// iteration, depth == 1 -#elif BOOST_PP_ITERATION_DEPTH() == 1 +#else +#if BOOST_PP_ITERATION_DEPTH() == 1 # define i_ BOOST_PP_FRAME_ITERATION(1) @@ -197,4 +198,5 @@ # undef j_ +#endif // BOOST_PP_ITERATION_DEPTH() #endif // BOOST_PP_IS_ITERATING