commit | ec185bde77b391c4fb3b87b629dd22ad2550bb5a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 08 19:12:05 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 08 19:12:05 1996 +0000 |
tree | 1597ba5ba2e7e397f06197b4f5036e820c9c0acc | |
parent | 8a170cbed6fb30005658fad4a5f42192b4843dae [diff] |
Added hack to get it to compile on AIX.
diff --git a/Modules/operator.c b/Modules/operator.c index 6e0db3d..3a34241 100644 --- a/Modules/operator.c +++ b/Modules/operator.c
@@ -110,6 +110,11 @@ 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)