Skip to contentSkip to conversation

define MAXPATHLEN for hosts that don't support it

PATCH In review Martin Atukunda 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 define MAXPATHLEN for hosts that don't support it

---

 git-compat-util.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

e7aa01129989561dcd069db41a2da4a133dcff61

git-compat-util.h +3 -0
index 4185b12..ead0ede 100644
@@ -110,4 +110,7 @@ static inline int sane_case(int x, int h
 	return x;
 }
 
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 256
+#endif
 #endif
Signature · 1 line
0.99.9.GIT