Skip to content

Commit ce43f38

Browse files
committed
Issue #20597: Remove unused definition of PATH_MAX on Windows, MAXPATHLEN is
now preferred. Patch written by Jeffrey Armstrong.
1 parent 68b11d1 commit ce43f38

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Modules/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <windows.h>
1010
#ifdef HAVE_FCNTL_H
1111
#include <fcntl.h>
12-
#define PATH_MAX MAXPATHLEN
1312
#endif
1413
#endif
1514

Python/pythonrun.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#ifdef MS_WINDOWS
3333
#undef BYTE
3434
#include "windows.h"
35-
#define PATH_MAX MAXPATHLEN
3635
#endif
3736

3837
#ifdef __gnu_hurd__

0 commit comments

Comments
 (0)