From: Guido van Rossum Date: Mon, 24 Jun 1991 22:23:10 +0000 (+0000) Subject: Apparently MPW has power() instead of pow(). X-Git-Tag: v0.9.8~894 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76f2f2ef67ed4c4c57b0db2fd6f5dcac62acae9b;p=thirdparty%2FPython%2Fcpython.git Apparently MPW has power() instead of pow(). --- 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)