From 55a1220bdbdff64320a906f0e09ca7644eeb445f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 28 Aug 2013 01:47:46 +0200 Subject: pythonrun.c: use MAXPATHLEN instead of PATH_MAX PATH_MAX is not available on "MIPS IRIX 6.5.30 [SB] 3.x" buildbot --- Python/pythonrun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 522a05d..375bf34 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) -- cgit v0.12