summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-20 15:59:04 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-20 15:59:04 (GMT)
commit511f16357c7d206304d6f4a0864ecb3c947a8bf6 (patch)
tree2e4d947dffafd1624fac1a323df022b00ac2d013 /Modules/mathmodule.c
parent19a6c8acb8c17f52854a3c1fe6f24cad0b2aa225 (diff)
downloadcpython-511f16357c7d206304d6f4a0864ecb3c947a8bf6.zip
cpython-511f16357c7d206304d6f4a0864ecb3c947a8bf6.tar.gz
cpython-511f16357c7d206304d6f4a0864ecb3c947a8bf6.tar.bz2
Removed MetroWerks workaround, replaced by defines in mymath.h (Jack)
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 0df3843..174a231 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)