34 lines
905 B
Diff
34 lines
905 B
Diff
diff -Naur a/Include/osdefs.h b/Include/osdefs.h
|
|
--- a/Include/osdefs.h 2014-03-18 00:07:32.781800000 +0400
|
|
+++ b/Include/osdefs.h 2014-03-18 00:08:08.817800000 +0400
|
|
@@ -17,7 +17,6 @@
|
|
#define SEP L'\\'
|
|
#define ALTSEP L'/'
|
|
#endif
|
|
-#define MAXPATHLEN 256
|
|
#define DELIM L';'
|
|
#define DELIMSTR ";"
|
|
#endif
|
|
diff -Naur a/Modules/main.c b/Modules/main.c
|
|
--- a/Modules/main.c 2014-03-17 06:31:31.000000000 +0400
|
|
+++ b/Modules/main.c 2014-03-18 00:08:08.817800000 +0400
|
|
@@ -9,7 +9,6 @@
|
|
#include <windows.h>
|
|
#ifdef HAVE_FCNTL_H
|
|
#include <fcntl.h>
|
|
-#define PATH_MAX MAXPATHLEN
|
|
#endif
|
|
#endif
|
|
|
|
diff -Naur a/Python/pythonrun.c b/Python/pythonrun.c
|
|
--- a/Python/pythonrun.c 2014-03-18 00:07:32.797400000 +0400
|
|
+++ b/Python/pythonrun.c 2014-03-18 00:08:08.817800000 +0400
|
|
@@ -32,7 +32,6 @@
|
|
#ifdef MS_WINDOWS
|
|
#undef BYTE
|
|
#include "windows.h"
|
|
-#define PATH_MAX MAXPATHLEN
|
|
#endif
|
|
|
|
_Py_IDENTIFIER(builtins);
|