@matheusbsbs / matheus-bagliano / commits / 252fef7149
Fork 0

define MAXPATHLEN for hosts that don't support it

[jc: Martin says syllable (www.syllable.org) wants this.] Signed-off-by: Junio C Hamano <junkio@cox.net>

Martin Atukunda committed Dec 13, 2005 at 15:21 UTC 252fef7149204d52ed4b46fd7e8ac8c803ceb0aa
1 file changed +3
git-compat-util.h
+3
@@ -110,4 +110,7 @@ static inline int sane_case(int x, int high)
110 return x;
111 }
112
113 +#ifndef MAXPATHLEN
114 +#define MAXPATHLEN 256
115 +#endif
116 #endif