diff --git a/src/object/function.cpp b/src/object/function.cpp index 5594ef7a..768a7ed1 100644 --- a/src/object/function.cpp +++ b/src/object/function.cpp @@ -43,7 +43,11 @@ extern PyTypeObject function_type; function::function( py_function const& implementation +#if BOOST_WORKAROUND(__EDG_VERSION__, == 245) + , python::detail::keyword const* names_and_defaults +#else , python::detail::keyword const* const names_and_defaults +#endif , unsigned num_keywords ) : m_fn(implementation)