Browse Source

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>
maint
Martin Atukunda 19 years ago committed by Junio C Hamano
parent
commit
252fef7149
  1. 3
      git-compat-util.h

3
git-compat-util.h

@ -110,4 +110,7 @@ static inline int sane_case(int x, int high) @@ -110,4 +110,7 @@ static inline int sane_case(int x, int high)
return x;
}

#ifndef MAXPATHLEN
#define MAXPATHLEN 256
#endif
#endif

Loading…
Cancel
Save