Skip to content

Commit d3bbc0e

Browse files
committed
Work around older EDG bug
[SVN r14415]
1 parent 9ff90c9 commit d3bbc0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/boost/python/converter/rvalue_from_python_data.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ struct rvalue_from_python_storage
8989
template <class T>
9090
struct rvalue_from_python_data : rvalue_from_python_storage<T>
9191
{
92-
# if !defined(__MWERKS__) || __MWERKS__ >= 0x3000
92+
# if (!defined(__MWERKS__) || __MWERKS__ >= 0x3000) && (!defined(__EDG_VERSION__) || __EDG_VERSION__ >= 245)
9393
// This must always be a POD struct with m_data its first member.
9494
BOOST_STATIC_ASSERT(offsetof(rvalue_from_python_storage<T>,stage1) == 0);
9595
# endif

0 commit comments

Comments
 (0)