]> granicus.if.org Git - python/commitdiff
Removed MetroWerks workaround, replaced by defines in mymath.h (Jack)
authorGuido van Rossum <guido@python.org>
Tue, 20 May 1997 15:59:04 +0000 (15:59 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 20 May 1997 15:59:04 +0000 (15:59 +0000)
Modules/mathmodule.c

index 0df3843ace12b0e80a12b63084e8f4084bc9f1b5..174a231b8e6389cd695e121690a3a0421518fc02 100644 (file)
@@ -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)