Ticket #2375: function-types.patch

File function-types.patch, 835 bytes (added by Daniel James, 14 years ago)
  • boost/function_types/detail/pp_arity_loop.hpp

     
    8989
    9090#     if !BOOST_PP_IS_ITERATING
    9191#       define BOOST_PP_FILENAME_1 BOOST_FT_AL_INCLUDE_FILE
    92 #     elif BOOST_PP_ITERATION_DEPTH() == 1
     92      // For gcc 4.4 compatability, we must include the
     93      // BOOST_PP_ITERATION_DEPTH test inside an #else clause.
     94#     else // BOOST_PP_IS_ITERATING
     95#     if BOOST_PP_ITERATION_DEPTH() == 1
    9396#       define BOOST_PP_FILENAME_2 BOOST_FT_AL_INCLUDE_FILE
    9497#     else
    9598#       error "loops nested too deeply"
     99#     endif // BOOST_PP_ITERATION_DEPTH()
    96100#     endif
    97101
    98102#     define BOOST_FT_arity BOOST_PP_ITERATION()