boost/python, boost/mpl: gcc 4.4 compatibility (see http://svn.boost.org/trac/boost/ticket/2069)

[SVN r48960]
This commit is contained in:
Ralf W. Grosse-Kunstleve committed 2008-09-25 04:49:24 +00:00
1 parent 54b5387eb2
commit 51adb2aa8d
8 files changed
+40 -8

No files matched your search

+5 -1
View File
@@ -361,7 +361,10 @@ BOOST_MPL_AUX_TEMPLATE_ARITY_SPEC(
///// iteration, depth == 1
#elif BOOST_PP_ITERATION_DEPTH() == 1
// For gcc 4.4 compatability, we must include the
// BOOST_PP_ITERATION_DEPTH test inside an #else clause.
#else // BOOST_PP_IS_ITERATING
#if BOOST_PP_ITERATION_DEPTH() == 1
# define i_ BOOST_PP_FRAME_ITERATION(1)
@@ -544,4 +547,5 @@ struct bind_chooser<i_>
# endif
# undef j_
#endif // BOOST_PP_ITERATION_DEPTH()
#endif // BOOST_PP_IS_ITERATING