diff options
author | Guido van Rossum <guido@python.org> | 1997-06-03 18:03:18 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-06-03 18:03:18 (GMT) |
commit | 71160aaffe494ef77ccdbef7ad639f65bd083705 (patch) | |
tree | b27daced01e49ff996a2fe7b488ca30f3ba96819 | |
parent | cf3527b705516ffea6d5f5810bd8b80076101415 (diff) | |
download | cpython-71160aaffe494ef77ccdbef7ad639f65bd083705.zip cpython-71160aaffe494ef77ccdbef7ad639f65bd083705.tar.gz cpython-71160aaffe494ef77ccdbef7ad639f65bd083705.tar.bz2 |
Use #include "mymath.h" instead of declaring fabs() explicitly.
This should solve a weird problem on the Mac for Jack.
-rw-r--r-- | Objects/stringobject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index dbcb1a9..5e3f9fa 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -33,6 +33,7 @@ PERFORMANCE OF THIS SOFTWARE. #include "Python.h" +#include "mymath.h" #include <ctype.h> #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; |