Kaydet (Commit) ec185bde authored tarafından Guido van Rossum's avatar Guido van Rossum

Added hack to get it to compile on AIX.

üst 8a170cbe
......@@ -110,6 +110,11 @@ used for special class methods; variants without leading and trailing\n\
if(-1 == (r=AOP(a1,a2))) return NULL; \
return PyInt_FromLong(r); }
#ifdef _AIX
#define __div __aix_div
#define __abs __aix_abs
#endif
spami(isCallable , PyCallable_Check)
spami(isNumberType , PyNumber_Check)
spami(truth , PyObject_IsTrue)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment