From f5125b456fbe80292046fb2fed831dbe4ca26054 Mon Sep 17 00:00:00 2001 From: BenjaminLiu Date: Thu, 2 Apr 2020 22:54:21 -0400 Subject: [PATCH 1/2] Cython files don't compile on Mingw-w64 64-bit fix --- PC/pyconfig.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 02216b5068012a..6ac9f822d0ae0b 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -78,6 +78,11 @@ WIN32 is still required for the locale module. /* Compiler specific defines */ +#ifdef __MINGW32__ +#ifdef _WIN64 +#define MS_WIN64 +#endif +#endif /* ------------------------------------------------------------------------*/ /* Microsoft C defines _MSC_VER */ From 866dbe914d17cc5944fb8662ddfb0b993d1d33fa Mon Sep 17 00:00:00 2001 From: BenjaminLiu Date: Thu, 2 Apr 2020 23:33:23 -0400 Subject: [PATCH 2/2] skip news --- .../NEWS.d/next/Windows/2020-01-24-09-15-41.bpo-8901.hVnhGO.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Misc/NEWS.d/next/Windows/2020-01-24-09-15-41.bpo-8901.hVnhGO.rst b/Misc/NEWS.d/next/Windows/2020-01-24-09-15-41.bpo-8901.hVnhGO.rst index 1d452cf26297f8..f75c62faad408f 100644 --- a/Misc/NEWS.d/next/Windows/2020-01-24-09-15-41.bpo-8901.hVnhGO.rst +++ b/Misc/NEWS.d/next/Windows/2020-01-24-09-15-41.bpo-8901.hVnhGO.rst @@ -1 +1,3 @@ Ignore the Windows registry when the ``-E`` option is used. +Add Mingw-w64 64-bit windows machine, fix issue +in https://bugs.python.org/issue40167