Code

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 4185b12741f802842f2aebc128c61051db65c13d..ead0ede5872e3c1ca10596010d4827ed726ff394 100644 (file)
@@ -110,4 +110,7 @@ static inline int sane_case(int x, int high)
        return x;
 }
 
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 256
+#endif
 #endif