File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ Library
6868Build
6969-----
7070
71+ - Issue #20221: Removed conflicting (or circular) hypot definition when
72+ compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
73+
7174- Issue #20609: Restored the ability to build 64-bit Windows binaries on
7275 32-bit Windows, which was broken by the change in issue #19788.
7376
Original file line number Diff line number Diff line change @@ -207,7 +207,11 @@ typedef int pid_t;
207207#define Py_IS_INFINITY (X ) (!_finite(X) && !_isnan(X))
208208#define Py_IS_FINITE (X ) _finite(X)
209209#define copysign _copysign
210+
211+ /* VS 2010 and above already defines hypot as _hypot */
212+ #if _MSC_VER < 1600
210213#define hypot _hypot
214+ #endif
211215
212216/* Side by Side assemblies supported in VS 2005 and VS 2008 but not 2010*/
213217#if _MSC_VER >= 1400 && _MSC_VER < 1600
You can’t perform that action at this time.
0 commit comments