Commit 55a1220b authored by Victor Stinner's avatar Victor Stinner

pythonrun.c: use MAXPATHLEN instead of PATH_MAX

PATH_MAX is not available on "MIPS IRIX 6.5.30 [SB] 3.x" buildbot
parent 340f712b
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment