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 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 */