Skip to content

Commit

Permalink
define MAXPATHLEN for hosts that don't support it
Browse files Browse the repository at this point in the history
[jc: Martin says syllable (www.syllable.org) wants this.]

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Martin Atukunda authored and Junio C Hamano committed Dec 14, 2005
1 parent 773b633 commit 252fef7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git-compat-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,7 @@ static inline int sane_case(int x, int high)
return x;
}

#ifndef MAXPATHLEN
#define MAXPATHLEN 256
#endif
#endif

0 comments on commit 252fef7

Please sign in to comment.