Files
MINGW-packages/mingw-w64-python3/0240-MINGW-use-main-to-start-execution.patch
2013-12-27 11:17:12 +04:00

13 lines
330 B
Diff

diff -urN a/Modules/python.c b/Modules/python.c
--- a/Modules/python.c 2013-12-26 18:43:59.977987200 +0000
+++ b/Modules/python.c 2013-12-26 18:44:03.035162000 +0000
@@ -7,7 +7,7 @@
#include <floatingpoint.h>
#endif
-#ifdef MS_WINDOWS
+#if defined(MS_WINDOWS) && !defined(__MINGW32__)
int
wmain(int argc, wchar_t **argv)
{