From 9caac9164198be10c00595481938d82c84b0ba4f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 14 Jun 1995 22:17:37 +0000 Subject: [PATCH] NeXT doesn't like me to declare hypot(double, double) --- Modules/mathmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index f4089f4e864..9cff9e0fc0f 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -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