summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Atukunda <matlads@dsmagic.com>2005-12-13 12:21:34 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-14 22:26:44 (GMT)
commit252fef7149204d52ed4b46fd7e8ac8c803ceb0aa (patch)
tree1ac05ac877331566ef589178973dd80774f101b6
parent773b6339435ab3bddecb9b78e49720e22124b52a (diff)
downloadgit-252fef7149204d52ed4b46fd7e8ac8c803ceb0aa.zip
git-252fef7149204d52ed4b46fd7e8ac8c803ceb0aa.tar.gz
git-252fef7149204d52ed4b46fd7e8ac8c803ceb0aa.tar.bz2
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>
-rw-r--r--git-compat-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 4185b12..ead0ede 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