summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-11-05 14:13:51 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-11-05 14:13:51 (GMT)
commita5b335e62fad239f254b6197fa60daba6bd5e464 (patch)
treec239d13b2fc63f165265d84c4600a031de76bf01
parentce43f38ace1122a7561da0a73ceea6743974608d (diff)
downloadcpython-a5b335e62fad239f254b6197fa60daba6bd5e464.zip
cpython-a5b335e62fad239f254b6197fa60daba6bd5e464.tar.gz
cpython-a5b335e62fad239f254b6197fa60daba6bd5e464.tar.bz2
Issue #20597, #21274: Remove unused definition of PATH_MAX on GNU/Hurd,
MAXPATHLEN is now preferred.
-rw-r--r--Python/pythonrun.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 33cebc1..b5707c4 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -34,10 +34,6 @@
#include "windows.h"
#endif
-#ifdef __gnu_hurd__
-#define PATH_MAX MAXPATHLEN
-#endif
-
_Py_IDENTIFIER(builtins);
_Py_IDENTIFIER(excepthook);
_Py_IDENTIFIER(flush);