mirror of
https://github.com/python/cpython.git
synced 2025-09-18 14:40:43 +00:00
Use #include "mymath.h" instead of declaring fabs() explicitly.
This should solve a weird problem on the Mac for Jack.
This commit is contained in:
parent
cf3527b705
commit
71160aaffe
1 changed files with 1 additions and 2 deletions
|
@ -33,6 +33,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
|
|
||||||
|
#include "mymath.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#ifdef COUNT_ALLOCS
|
#ifdef COUNT_ALLOCS
|
||||||
|
@ -627,8 +628,6 @@ getnextarg(args, arglen, p_argidx)
|
||||||
#define F_ALT (1<<3)
|
#define F_ALT (1<<3)
|
||||||
#define F_ZERO (1<<4)
|
#define F_ZERO (1<<4)
|
||||||
|
|
||||||
extern double fabs Py_PROTO((double));
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
formatfloat(buf, flags, prec, type, v)
|
formatfloat(buf, flags, prec, type, v)
|
||||||
char *buf;
|
char *buf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue