--- pyconfig.h 2016-01-27 10:53:11.000000000 +0300 +++ pyconfig.h.2.7.mingw 2016-03-28 11:46:24.000000000 +0300 @@ -102,6 +102,12 @@ /* Compiler specific defines */ +#ifdef __MINGW32__ +#ifdef _WIN64 +#define MS_WIN64 +#endif +#endif + /* ------------------------------------------------------------------------*/ /* Microsoft C defines _MSC_VER */ #ifdef _MSC_VER