From ec185bde77b391c4fb3b87b629dd22ad2550bb5a Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 8 Aug 1996 19:12:05 +0000 Subject: Added hack to get it to compile on AIX. --- Modules/operator.c | 5 +++++ 1 file changed, 5 insertions(+) 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 @@ 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) -- cgit v0.12