bpo-42120: Remove macro defining copysign to _copysign on Windows (GH-23326)
(cherry picked from commit 9cc9e27725
)
Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
parent
fa86614078
commit
4f54ca0734
|
@ -0,0 +1 @@
|
||||||
|
Remove macro definition of ``copysign`` (to ``_copysign``) in headers.
|
|
@ -193,7 +193,6 @@ typedef int pid_t;
|
||||||
#define Py_IS_NAN _isnan
|
#define Py_IS_NAN _isnan
|
||||||
#define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
|
#define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
|
||||||
#define Py_IS_FINITE(X) _finite(X)
|
#define Py_IS_FINITE(X) _finite(X)
|
||||||
#define copysign _copysign
|
|
||||||
|
|
||||||
/* Side by Side assemblies supported in VS 2005 and VS 2008 but not 2010*/
|
/* Side by Side assemblies supported in VS 2005 and VS 2008 but not 2010*/
|
||||||
#if _MSC_VER >= 1400 && _MSC_VER < 1600
|
#if _MSC_VER >= 1400 && _MSC_VER < 1600
|
||||||
|
|
Loading…
Reference in New Issue