# HG changeset patch # User Brendan Cully # Date 2009-06-06 20:37:41 # Node ID b4a1b9012d96367e97da8c0e12ae1f7ade712c49 # Parent 2816239e0020cada834efcf839b4f8fe320a5eb4 # Parent 48da69ff79bd9304f0bf7ad87f8566c16830db30 Merge with crew-stable diff --git a/mercurial/osutil.c b/mercurial/osutil.c --- a/mercurial/osutil.c +++ b/mercurial/osutil.c @@ -23,6 +23,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