changeset 8754:31c90d12f86c

Merge with crew
author Matt Mackall <mpm@selenic.com>
date Mon, 08 Jun 2009 18:16:32 -0500
parents 107af208ed0b (current diff) 48da69ff79bd (diff)
children a2b4ddee3785 6556d4145122
files
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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