Merge with crew
authorMatt Mackall <mpm@selenic.com>
Mon, 08 Jun 2009 18:16:32 -0500
changeset 8754 31c90d12f86c
parent 8560 107af208ed0b (current diff)
parent 8722 48da69ff79bd (diff)
child 8755 a2b4ddee3785
child 8783 6556d4145122
Merge with crew
--- 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 <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