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:
Victor Stinner 2013-08-28 01:47:46 +02:00
parent 340f712b84
commit 55a1220bdb
1 changed files with 1 additions and 1 deletions

View File

@ -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)