diff Python/pythonrun.c @ 85423:0424f4761500

pythonrun.c: use MAXPATHLEN instead of PATH_MAX PATH_MAX is not available on "MIPS IRIX 6.5.30 [SB] 3.x" buildbot
author Victor Stinner <victor.stinner@gmail.com>
date Wed, 28 Aug 2013 01:47:46 +0200
parents ef889c3d5dc6
children acc7439b1406
line wrap: on
line diff
--- a/Python/pythonrun.c	Wed Aug 28 01:45:39 2013 +0200
+++ b/Python/pythonrun.c	Wed Aug 28 01:47:46 2013 +0200
@@ -821,7 +821,7 @@
 }
 
 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)