]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Apparently MPW has power() instead of pow().
authorGuido van Rossum <guido@python.org>
Mon, 24 Jun 1991 22:23:10 +0000 (22:23 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 24 Jun 1991 22:23:10 +0000 (22:23 +0000)
Modules/mathmodule.c

index f6e72868b4791b306fb7db898ed4174aaa35dde4..5a1cb85befad66a9841cbd32d0e5885e0ac58478 100644 (file)
@@ -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)