2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

vc6 workaround

[SVN r20814]
This commit is contained in:
Dave Abrahams
2003-11-15 15:16:27 +00:00
parent bcec0af232
commit 7b9bba3190

View File

@@ -91,7 +91,11 @@ BOOST_PYTHON_MODULE(operators_ext)
.def(pow(self,self))
.def(pow(self,int()))
.def(pow(int(),self))
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
.def(!self) // it doesn't know about the "not" keyword!
#else
.def(not self)
#endif
;
class_<test_class<1> >("Z", init<int>())