Mercurial > public > mercurial-scm > hg
diff mercurial/osutil.c @ 8723:b4a1b9012d96
Merge with crew-stable
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sat, 06 Jun 2009 13:37:41 -0700 |
parents | dc1b9e22f288 48da69ff79bd |
children | 3ac42ca1f3e6 |
line wrap: on
line diff
--- a/mercurial/osutil.c Thu Jun 04 18:11:11 2009 -0600 +++ b/mercurial/osutil.c Sat Jun 06 13:37:41 2009 -0700 @@ -23,6 +23,11 @@ # include <unistd.h> #endif +// some platforms lack the PATH_MAX definition (eg. GNU/Hurd) +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + #ifdef _WIN32 /* stat struct compatible with hg expectations