From ce43f38ace1122a7561da0a73ceea6743974608d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 5 Nov 2014 15:11:34 +0100 Subject: [PATCH] Issue #20597: Remove unused definition of PATH_MAX on Windows, MAXPATHLEN is now preferred. Patch written by Jeffrey Armstrong. --- Modules/main.c | 1 - Python/pythonrun.c | 1 - 2 files changed, 2 deletions(-) diff --git a/Modules/main.c b/Modules/main.c index 8a9f5a25eee..c4883c95ed7 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -9,7 +9,6 @@ #include #ifdef HAVE_FCNTL_H #include -#define PATH_MAX MAXPATHLEN #endif #endif diff --git a/Python/pythonrun.c b/Python/pythonrun.c index bac39c23b4d..33cebc17a07 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__