Files
MINGW-packages/mingw-w64-python3/0240-MINGW-use-main-to-start-execution.patch
2015-09-21 15:47:39 +03:00

13 lines
362 B
Diff

diff -Naur Python-3.5.0-orig/Programs/python.c Python-3.5.0/Programs/python.c
--- Python-3.5.0-orig/Programs/python.c 2015-09-13 14:41:26.000000000 +0300
+++ Python-3.5.0/Programs/python.c 2015-09-21 13:41:21.061743200 +0300
@@ -7,7 +7,7 @@
#include <floatingpoint.h>
#endif
-#ifdef MS_WINDOWS
+#if defined(_MSC_VER)
int
wmain(int argc, wchar_t **argv)
{