summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-08-28 01:47:46 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-08-28 01:47:46 +0200
commit55a1220bdbdff64320a906f0e09ca7644eeb445f (patch)
tree83c961ce27116dda17d92b4a401318a522b5877d /Python
parent340f712b84abcc652d65027443bb64d5e8ac7eda (diff)
downloadcpython-git-55a1220bdbdff64320a906f0e09ca7644eeb445f.tar.gz
pythonrun.c: use MAXPATHLEN instead of PATH_MAX
PATH_MAX is not available on "MIPS IRIX 6.5.30 [SB] 3.x" buildbot
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 522a05d8b4..375bf34c82 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -821,7 +821,7 @@ Py_GetProgramName(void)
}
static wchar_t *default_home = NULL;
-static wchar_t env_home[PATH_MAX+1];
+static wchar_t env_home[MAXPATHLEN+1];
void
Py_SetPythonHome(wchar_t *home)