mirror of https://github.com/python/cpython
Issue #20597: Remove unused definition of PATH_MAX on Windows, MAXPATHLEN is
now preferred. Patch written by Jeffrey Armstrong.
This commit is contained in:
parent
68b11d129d
commit
ce43f38ace
|
@ -9,7 +9,6 @@
|
|||
#include <windows.h>
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#define PATH_MAX MAXPATHLEN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#ifdef MS_WINDOWS
|
||||
#undef BYTE
|
||||
#include "windows.h"
|
||||
#define PATH_MAX MAXPATHLEN
|
||||
#endif
|
||||
|
||||
#ifdef __gnu_hurd__
|
||||
|
|
Loading…
Reference in New Issue