diff options
author | Guido van Rossum <guido@python.org> | 1996-08-21 20:36:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-21 20:36:52 (GMT) |
commit | 3bcf7d2f0b68ada02fadfd15e2a8be5118addb10 (patch) | |
tree | ffdae22745b650a3c86070d848aedbc2238ee083 | |
parent | cda848f49eb92401e8c4d01154531f6e7397a480 (diff) | |
download | cpython-3bcf7d2f0b68ada02fadfd15e2a8be5118addb10.zip cpython-3bcf7d2f0b68ada02fadfd15e2a8be5118addb10.tar.gz cpython-3bcf7d2f0b68ada02fadfd15e2a8be5118addb10.tar.bz2 |
Avoid complaint about inconsistent hypot() linkage on NT.
-rw-r--r-- | Modules/mathmodule.c | 2 |
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; |