Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Atukunda <matlads@dsmagic.com>2005-12-13 15:21:34 +0300
committerJunio C Hamano <junkio@cox.net>2005-12-15 01:26:44 +0300
commit252fef7149204d52ed4b46fd7e8ac8c803ceb0aa (patch)
tree1ac05ac877331566ef589178973dd80774f101b6 /git-compat-util.h
parent773b6339435ab3bddecb9b78e49720e22124b52a (diff)
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>
Diffstat (limited to 'git-compat-util.h')
-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 4185b12741..ead0ede587 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