From 76f2f2ef67ed4c4c57b0db2fd6f5dcac62acae9b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 24 Jun 1991 22:23:10 +0000 Subject: [PATCH] Apparently MPW has power() instead of pow(). --- Modules/mathmodule.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index f6e72868b479..5a1cb85befad 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -93,7 +93,11 @@ FUNC2(math_fmod, fmod) #endif FUNC1(math_log, log) FUNC1(math_log10, log10) +#ifdef applec /* MPW */ +FUNC2(math_pow, power) +#else FUNC2(math_pow, pow) +#endif FUNC1(math_sin, sin) FUNC1(math_sinh, sinh) FUNC1(math_sqrt, sqrt) -- 2.47.3