summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-06-14 22:17:37 (GMT)
committerGuido van Rossum <guido@python.org>1995-06-14 22:17:37 (GMT)
commit9caac9164198be10c00595481938d82c84b0ba4f (patch)
treeb09fd9a05e832b184c961ee0fb789db2bdb56441 /Modules/mathmodule.c
parent75f288de71e23edc99cd5872055e5a668d477288 (diff)
downloadcpython-9caac9164198be10c00595481938d82c84b0ba4f.zip
cpython-9caac9164198be10c00595481938d82c84b0ba4f.tar.gz
cpython-9caac9164198be10c00595481938d82c84b0ba4f.tar.bz2
NeXT doesn't like me to declare hypot(double, double)
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index f4089f4..9cff9e0 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