diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-11-05 15:11:34 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-11-05 15:11:34 +0100 |
commit | ce43f38ace1122a7561da0a73ceea6743974608d (patch) | |
tree | 9705c36fa3a8828a42234de9de0ac3ecc52b5825 | |
parent | 68b11d129dc28f741e5522fe07b4b935c0d59198 (diff) | |
download | cpython-git-ce43f38ace1122a7561da0a73ceea6743974608d.tar.gz |
Issue #20597: Remove unused definition of PATH_MAX on Windows, MAXPATHLEN is
now preferred. Patch written by Jeffrey Armstrong.
-rw-r--r-- | Modules/main.c | 1 | ||||
-rw-r--r-- | Python/pythonrun.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Modules/main.c b/Modules/main.c index 8a9f5a25ee..c4883c95ed 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -9,7 +9,6 @@ #include <windows.h> #ifdef HAVE_FCNTL_H #include <fcntl.h> -#define PATH_MAX MAXPATHLEN #endif #endif diff --git a/Python/pythonrun.c b/Python/pythonrun.c index bac39c23b4..33cebc17a0 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -32,7 +32,6 @@ #ifdef MS_WINDOWS #undef BYTE #include "windows.h" -#define PATH_MAX MAXPATHLEN #endif #ifdef __gnu_hurd__ |