Files
MINGW-packages/mingw-w64-python3/0240-MINGW-use-main-to-start-execution.patch
2018-04-16 10:51:53 +03:00

13 lines
353 B
Diff

diff -Naur Python-3.6.5-orig/Programs/python.c Python-3.6.5/Programs/python.c
--- Python-3.6.5-orig/Programs/python.c 2018-03-28 12:19:31.000000000 +0300
+++ Python-3.6.5/Programs/python.c 2018-04-16 09:53:18.394096000 +0300
@@ -7,7 +7,7 @@
#include <fenv.h>
#endif
-#ifdef MS_WINDOWS
+#if defined(_MSC_VER)
int
wmain(int argc, wchar_t **argv)
{