threads / patch / 2821

patchdefine MAXPATHLEN for hosts that don't support it

Subject: [PATCH] define MAXPATHLEN for hosts that don't support it

## tl;dr

2 messages between Dec 13, 2005 and Dec 13, 2005. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Martin Atukunda· Dec 13, 2005, 12:21 UTC · lore
---
 git-compat-util.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
e7aa01129989561dcd069db41a2da4a133dcff61
Show changes to git-compat-util.h +3 −0
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 h
 	return x;
 }
 
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 256
+#endif
 #endif
-- 
0.99.9.GIT

← back to recent threads