summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS.d/next/Windows/2020-11-16-22-41-02.bpo-42120.9scgko.rst1
-rw-r--r--PC/pyconfig.h1
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 02216b5..d7d3cf0 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
/* define some ANSI types that are not defined in earlier Win headers */
#if _MSC_VER >= 1200