From: Guido van Rossum Date: Tue, 3 Jun 1997 18:03:18 +0000 (+0000) Subject: Use #include "mymath.h" instead of declaring fabs() explicitly. X-Git-Tag: v1.5a3~361 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71160aaffe494ef77ccdbef7ad639f65bd083705;p=python Use #include "mymath.h" instead of declaring fabs() explicitly. This should solve a weird problem on the Mac for Jack. --- diff --git a/Objects/stringobject.c b/Objects/stringobject.c index dbcb1a9969..5e3f9fac2d 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -33,6 +33,7 @@ PERFORMANCE OF THIS SOFTWARE. #include "Python.h" +#include "mymath.h" #include #ifdef COUNT_ALLOCS @@ -627,8 +628,6 @@ getnextarg(args, arglen, p_argidx) #define F_ALT (1<<3) #define F_ZERO (1<<4) -extern double fabs Py_PROTO((double)); - static int formatfloat(buf, flags, prec, type, v) char *buf;