Skip to content

Commit

Permalink
bpo-42120: Remove macro defining copysign to _copysign on Windows (GH…
Browse files Browse the repository at this point in the history
…-23326)

(cherry picked from commit 9cc9e27)

Co-authored-by: Steve Dower <[email protected]>
  • Loading branch information
miss-islington and zooba authored Nov 16, 2020
1 parent fa86614 commit 4f54ca0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove macro definition of ``copysign`` (to ``_copysign``) in headers.
1 change: 0 additions & 1 deletion PC/pyconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ typedef int pid_t;
#define Py_IS_NAN _isnan
#define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(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*/
#if _MSC_VER >= 1400 && _MSC_VER < 1600
Expand Down

0 comments on commit 4f54ca0

Please sign in to comment.