diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-11-16 23:42:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 23:42:49 (GMT) |
commit | 4f54ca07341c656b763c8c71a051f7f86a2a256c (patch) | |
tree | 715bc3c7ac9129a642d0275d4fd2c4a1008318ae | |
parent | fa86614078f1f700f350f98486dddf83587ab69e (diff) | |
download | cpython-4f54ca07341c656b763c8c71a051f7f86a2a256c.zip cpython-4f54ca07341c656b763c8c71a051f7f86a2a256c.tar.gz cpython-4f54ca07341c656b763c8c71a051f7f86a2a256c.tar.bz2 |
bpo-42120: Remove macro defining copysign to _copysign on Windows (GH-23326)
(cherry picked from commit 9cc9e277254023c0ca08e1a9e379fd89475ca9c2)
Co-authored-by: Steve Dower <steve.dower@python.org>
-rw-r--r-- | Misc/NEWS.d/next/Windows/2020-11-16-22-41-02.bpo-42120.9scgko.rst | 1 | ||||
-rw-r--r-- | PC/pyconfig.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Windows/2020-11-16-22-41-02.bpo-42120.9scgko.rst b/Misc/NEWS.d/next/Windows/2020-11-16-22-41-02.bpo-42120.9scgko.rst new file mode 100644 index 0000000..c574956 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2020-11-16-22-41-02.bpo-42120.9scgko.rst @@ -0,0 +1 @@ +Remove macro definition of ``copysign`` (to ``_copysign``) in headers. diff --git a/PC/pyconfig.h b/PC/pyconfig.h index b6b8d44..4f6846b 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -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 |