# HG changeset patch # User Matt Mackall # Date 1244502992 18000 # Node ID 31c90d12f86c81f516f472fd4cdca1aa62dff526 # Parent 107af208ed0be0bdb89ce2946052b0798b6e83d4# Parent 48da69ff79bd9304f0bf7ad87f8566c16830db30 Merge with crew diff -r 107af208ed0b -r 31c90d12f86c mercurial/osutil.c --- a/mercurial/osutil.c Sat May 23 12:31:28 2009 -0500 +++ b/mercurial/osutil.c Mon Jun 08 18:16:32 2009 -0500 @@ -20,6 +20,11 @@ #include #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