From 252fef7149204d52ed4b46fd7e8ac8c803ceb0aa Mon Sep 17 00:00:00 2001 From: Martin Atukunda Date: Tue, 13 Dec 2005 15:21:34 +0300 Subject: [PATCH] define MAXPATHLEN for hosts that don't support it [jc: Martin says syllable (www.syllable.org) wants this.] Signed-off-by: Junio C Hamano --- git-compat-util.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git-compat-util.h b/git-compat-util.h index 4185b1274..ead0ede58 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 -- 2.26.2