changeset 8723:b4a1b9012d96

Merge with crew-stable
author Brendan Cully <brendan@kublai.com>
date Sat, 06 Jun 2009 13:37:41 -0700
parents 2816239e0020 (current diff) 48da69ff79bd (diff)
children 6e41d3c5619f
files mercurial/osutil.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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