From 511f16357c7d206304d6f4a0864ecb3c947a8bf6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 20 May 1997 15:59:04 +0000 Subject: [PATCH] Removed MetroWerks workaround, replaced by defines in mymath.h (Jack) --- Modules/mathmodule.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 0df3843ace1..174a231b8e6 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)