]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
NeXT doesn't like me to declare hypot(double, double)
authorGuido van Rossum <guido@python.org>
Wed, 14 Jun 1995 22:17:37 +0000 (22:17 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 14 Jun 1995 22:17:37 +0000 (22:17 +0000)
Modules/mathmodule.c

index f4089f4e864e01af1f04c7d50291317c6c54ed76..9cff9e0fc0ff007e3fa08dd5f59c8a33ca75a102 100644 (file)
@@ -40,7 +40,7 @@ extern double ldexp PROTO((double, int));
 extern double modf PROTO((double, double *));
 #endif
 
-#ifdef HAVE_HYPOT
+#if defined(HAVE_HYPOT) && !defined(NeXT)
 extern double hypot PROTO((double, double));
 #endif