8000 [3.8] bpo-42120: Remove macro defining copysign to _copysign on Windows (GH-23326) by miss-islington · Pull Request #23330 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.8] bpo-42120: Remove macro defining copysign to _copysign on Windows (GH-23326) #23330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Misc/NEWS.d/next/Windows/2020-11-16-22-41-02.bpo-42120.9scgko.rst 8000
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