mirror of
https://github.com/python/cpython.git
synced 2025-01-27 11:33:55 +08:00
Avoid complaint about inconsistent hypot() linkage on NT.
This commit is contained in:
parent
cda848f49e
commit
3bcf7d2f0b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user