From: Guido van Rossum Date: Tue, 20 May 1997 15:59:04 +0000 (+0000) Subject: Removed MetroWerks workaround, replaced by defines in mymath.h (Jack) X-Git-Tag: v1.5a3~524 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=511f16357c7d206304d6f4a0864ecb3c947a8bf6;p=thirdparty%2FPython%2Fcpython.git Removed MetroWerks workaround, replaced by defines in mymath.h (Jack) --- diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 0df3843ace12..174a231b8e63 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -127,12 +127,7 @@ FUNC1(math_ceil, ceil) FUNC1(math_cos, cos) FUNC1(math_cosh, cosh) FUNC1(math_exp, exp) -#ifdef __MWERKS__ -double myfabs(double x) { return fabs(x); } -FUNC1(math_fabs, myfabs) -#else FUNC1(math_fabs, fabs) -#endif FUNC1(math_floor, floor) FUNC2(math_fmod, fmod) FUNC2(math_hypot, hypot)