diff --git a/test/operators.cpp b/test/operators.cpp index 94246c3f..391cd550 100755 --- a/test/operators.cpp +++ b/test/operators.cpp @@ -18,8 +18,12 @@ // trouble for non-conforming compilers and libraries. #include +#if BOOST_WORKAROUND(BOOST_MSVC, == 1310) // vc7.1 seems to require this (incorrectly) in order to use the "not" keyword #include +#elif BOOST_WORKAROUND(__EDG_VERSION__, <= 238) +#define not ! +#endif using namespace boost::python;