Commit 50cc04ee authored by Guido van Rossum's avatar Guido van Rossum

Mac CodeWarrior has faulty declaration for hypot, which we hide with a

#define.
(Jack)
parent 53117ae8
......@@ -9,16 +9,24 @@
#pragma lib_export off
#endif
#include <math.h>
#ifdef SYMANTEC__CFM68K__
#pragma lib_export on
#ifndef HAVE_HYPOT
extern double hypot Py_PROTO((double, double));
#ifdef __MWERKS__
#define hypot we_dont_want_faulty_hypot_decl
#endif
#endif
#include <math.h>
#ifndef HAVE_HYPOT
extern double hypot Py_PROTO((double, double));
#ifdef __MWERKS__
#undef hypot
#endif
#endif
#ifdef SYMANTEC__CFM68K__
#pragma lib_export on
#endif
#if defined(USE_MSL) && defined(__MC68K__)
/* CodeWarrior MSL 2.1.1 has weird define overrides that don't work
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment