X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=inline;f=git-compat-util.h;h=73968e02b024f22068eb5500033f7a2f41d31e8f;hb=6e79a8858560a3a3e2b5e092a6cbdd5f3f1ad13b;hp=9d04faefb8c88c1ab7b2e80b57679374c684d102;hpb=c4582f93a263bea534288e7f7ad8937405964cd4;p=git.git diff --git a/git-compat-util.h b/git-compat-util.h index 9d04faefb..73968e02b 100644 --- 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