author | Arne Babenhauserheide <bab@draketo.de> |
Fri, 05 Jun 2009 15:08:45 +0200 | |
changeset 8722 | 48da69ff79bd |
parent 8536 | 6796d41be421 |
child 8723 | b4a1b9012d96 |
child 8754 | 31c90d12f86c |
--- a/mercurial/osutil.c Thu May 21 20:32:45 2009 +0200 +++ b/mercurial/osutil.c Fri Jun 05 15:08:45 2009 +0200 @@ -20,6 +20,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