summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-21 20:36:52 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-21 20:36:52 (GMT)
commit3bcf7d2f0b68ada02fadfd15e2a8be5118addb10 (patch)
treeffdae22745b650a3c86070d848aedbc2238ee083
parentcda848f49eb92401e8c4d01154531f6e7397a480 (diff)
downloadcpython-3bcf7d2f0b68ada02fadfd15e2a8be5118addb10.zip
cpython-3bcf7d2f0b68ada02fadfd15e2a8be5118addb10.tar.gz
cpython-3bcf7d2f0b68ada02fadfd15e2a8be5118addb10.tar.bz2
Avoid complaint about inconsistent hypot() linkage on NT.
-rw-r--r--Modules/mathmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index e69aea9..4ebb26e 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -44,7 +44,9 @@ extern double modf PROTO((double, double *));
#if defined(HAVE_HYPOT)
+#ifndef _MSC_VER
extern double hypot PROTO((double, double));
+#endif
#else
double hypot(x,y)
double x;