commit | 3bcf7d2f0b68ada02fadfd15e2a8be5118addb10 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Aug 21 20:36:52 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Aug 21 20:36:52 1996 +0000 |
tree | ffdae22745b650a3c86070d848aedbc2238ee083 | |
parent | cda848f49eb92401e8c4d01154531f6e7397a480 [diff] [blame] |
Avoid complaint about inconsistent hypot() linkage on NT.
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 @@ #if defined(HAVE_HYPOT) +#ifndef _MSC_VER extern double hypot PROTO((double, double)); +#endif #else double hypot(x,y) double x;