diff --git a/include/boost/python/converter/rvalue_from_python_data.hpp b/include/boost/python/converter/rvalue_from_python_data.hpp index 8b0c6091..9736c2c3 100644 --- a/include/boost/python/converter/rvalue_from_python_data.hpp +++ b/include/boost/python/converter/rvalue_from_python_data.hpp @@ -89,7 +89,7 @@ struct rvalue_from_python_storage template struct rvalue_from_python_data : rvalue_from_python_storage { -# if !defined(__MWERKS__) || __MWERKS__ >= 0x3000 +# if (!defined(__MWERKS__) || __MWERKS__ >= 0x3000) && (!defined(__EDG_VERSION__) || __EDG_VERSION__ >= 245) // This must always be a POD struct with m_data its first member. BOOST_STATIC_ASSERT(offsetof(rvalue_from_python_storage,stage1) == 0); # endif