Files
MSYS2-packages/python3/3.3-PATH_MAX.patch
2013-11-05 11:00:07 +04:00

15 lines
334 B
Diff

--- Python-3.3.2-orig/Modules/main.c 2013-05-15 20:32:59.000000000 +0400
+++ Python-3.3.2/Modules/main.c 2013-08-02 00:00:38.549804600 +0400
@@ -14,9 +14,11 @@
#include <windows.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
+#ifndef PATH_MAX
#define PATH_MAX MAXPATHLEN
#endif
#endif
+#endif
#ifdef _MSC_VER
#include <crtdbg.h>