From 698384db9c2906dae379ffa2a1cf4d9fadc622a5 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Mon, 16 Sep 2002 20:01:41 +0000 Subject: [PATCH] temporary VisualAge C++ fix [SVN r15386] --- include/boost/mpl/aux_/void_spec.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/boost/mpl/aux_/void_spec.hpp b/include/boost/mpl/aux_/void_spec.hpp index d0afa67..f017fad 100644 --- a/include/boost/mpl/aux_/void_spec.hpp +++ b/include/boost/mpl/aux_/void_spec.hpp @@ -96,6 +96,11 @@ struct name< BOOST_MPL_AUX_VOID_SPEC_PARAMS(i) > \ #define BOOST_MPL_AUX_VOID_SPEC_PARAM(param) param = void_ +// agurt, 16/sep/02: temporary fix for VisualAge C++ +#if defined(__IBMCPP__) +# define BOOST_MPL_AUX_VOID_SPEC(i, name) /**/ +# define BOOST_MPL_AUX_VOID_SPEC_EXT(i, j, name) /**/ +#else #define BOOST_MPL_AUX_VOID_SPEC(i, name) \ BOOST_MPL_AUX_VOID_SPEC_MAIN(i, name) \ BOOST_MPL_AUX_VOID_SPEC_ARITY(i, name) \ @@ -107,6 +112,6 @@ BOOST_MPL_AUX_VOID_SPEC_MAIN(i, name) \ BOOST_MPL_AUX_VOID_SPEC_ARITY(i, name) \ BOOST_MPL_AUX_VOID_SPEC_TEMPLATE_ARITY(i, j, name) \ /**/ - +#endif #endif // BOOST_MPL_AUX_VOID_SPEC_HPP_INCLUDED