changeset 8723 | b4a1b9012d96 |
parent 8597 | dc1b9e22f288 |
parent 8722 | 48da69ff79bd |
child 9353 | 3ac42ca1f3e6 |
--- 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