diff options
| author | Guido van Rossum <guido@python.org> | 1997-06-03 18:03:18 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1997-06-03 18:03:18 +0000 |
| commit | 71160aaffe494ef77ccdbef7ad639f65bd083705 (patch) | |
| tree | b27daced01e49ff996a2fe7b488ca30f3ba96819 /Objects/stringobject.c | |
| parent | cf3527b705516ffea6d5f5810bd8b80076101415 (diff) | |
| download | cpython-git-71160aaffe494ef77ccdbef7ad639f65bd083705.tar.gz | |
Use #include "mymath.h" instead of declaring fabs() explicitly.
This should solve a weird problem on the Mac for Jack.
Diffstat (limited to 'Objects/stringobject.c')
| -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 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 <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; |
