Ticket #2379: variant.patch

File variant.patch, 662 bytes (added by Daniel James, 14 years ago)
  • boost/variant/detail/substitute.hpp

     
    151151
    152152///// iteration, depth == 1
    153153
    154 #elif BOOST_PP_ITERATION_DEPTH() == 1
     154// For gcc 4.4 compatability, we must include the
     155// BOOST_PP_ITERATION_DEPTH test inside an #else clause.
     156#else // BOOST_PP_IS_ITERATING
     157#if BOOST_PP_ITERATION_DEPTH() == 1
    155158#define i BOOST_PP_FRAME_ITERATION(1)
    156159
    157160#if i > 0
     
    228231#endif // i
    229232
    230233#undef i
     234#endif // BOOST_PP_ITERATION_DEPTH()
    231235#endif // BOOST_PP_IS_ITERATING