Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tr portability fixes
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index 9d04faefb8c88c1ab7b2e80b57679374c684d102..73968e02b024f22068eb5500033f7a2f41d31e8f 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-446,4
+446,10
@@
void git_qsort(void *base, size_t nmemb, size_t size,
#define qsort git_qsort
#endif
+#ifndef DIR_HAS_BSD_GROUP_SEMANTICS
+# define FORCE_DIR_SET_GID S_ISGID
+#else
+# define FORCE_DIR_SET_GID 0
+#endif
+
#endif