From: Martin Atukunda Date: Tue, 13 Dec 2005 12:21:34 +0000 (+0300) Subject: define MAXPATHLEN for hosts that don't support it X-Git-Tag: v0.99.9n^2~3 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=252fef7149204d52ed4b46fd7e8ac8c803ceb0aa;p=git.git define MAXPATHLEN for hosts that don't support it [jc: Martin says syllable (www.syllable.org) wants this.] Signed-off-by: Junio C Hamano --- diff --git a/git-compat-util.h b/git-compat-util.h index 4185b127..ead0ede5 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -110,4 +110,7 @@ static inline int sane_case(int x, int high) return x; } +#ifndef MAXPATHLEN +#define MAXPATHLEN 256 +#endif #endif