diff --git a/include/boost/function/function_base.hpp b/include/boost/function/function_base.hpp index d9c85e3..f154cd9 100644 --- a/include/boost/function/function_base.hpp +++ b/include/boost/function/function_base.hpp @@ -63,6 +63,11 @@ namespace boost { namespace python { namespace objects { # define BOOST_FUNCTION_NO_ENABLE_IF #endif +// Metrowerks 7.2 doesn't support enable_if +#if defined(__MWERKS__) && __MWERKS__ <= 0x2407 && !defined(BOOST_NO_CONFIG) +# define BOOST_FUNCTION_NO_ENABLE_IF +#endif + #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) namespace boost {