pythonrun.c: use MAXPATHLEN instead of PATH_MAX
PATH_MAX is not available on "MIPS IRIX 6.5.30 [SB] 3.x" buildbot
This commit is contained in:
parent
340f712b84
commit
55a1220bdb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue