define MAXPATHLEN for hosts that don't support it
authorMartin Atukunda <matlads@dsmagic.com>
Tue, 13 Dec 2005 12:21:34 +0000 (15:21 +0300)
committerJunio C Hamano <junkio@cox.net>
Wed, 14 Dec 2005 22:26:44 +0000 (14:26 -0800)
[jc: Martin says syllable (www.syllable.org) wants this.]

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-compat-util.h

index 4185b12..ead0ede 100644 (file)
@@ -110,4 +110,7 @@ static inline int sane_case(int x, int high)
        return x;
 }
 
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 256
+#endif
 #endif