]> granicus.if.org Git - python/commitdiff
Issue #20597: Remove unused definition of PATH_MAX on Windows, MAXPATHLEN is
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 5 Nov 2014 14:11:34 +0000 (15:11 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 5 Nov 2014 14:11:34 +0000 (15:11 +0100)
now preferred. Patch written by Jeffrey Armstrong.

Modules/main.c
Python/pythonrun.c

index 8a9f5a25eee94d9eb2aab151c825a975ec9d6da3..c4883c95ed7c714389949174f91baae61c65c6ee 100644 (file)
@@ -9,7 +9,6 @@
 #include <windows.h>
 #ifdef HAVE_FCNTL_H
 #include <fcntl.h>
-#define PATH_MAX MAXPATHLEN
 #endif
 #endif
 
index bac39c23b4d3e643124e9990d9eac93f993d288a..33cebc17a076ae5493a7c677b8001e689cc4be3c 100644 (file)
@@ -32,7 +32,6 @@
 #ifdef MS_WINDOWS
 #undef BYTE
 #include "windows.h"
-#define PATH_MAX MAXPATHLEN
 #endif
 
 #ifdef __gnu_hurd__