aboutsummaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-23 13:01:42 -0700
committerJunio C Hamano <gitster@pobox.com>2012-04-23 13:01:42 -0700
commite7779c2eca417c0defd3cd8ad249b0b9cfc66d85 (patch)
treebd0f001dd33b81ea59149518af8fcd341beaf79a /compat/mingw.h
parentb5d681ba8174478f6905adcb65e281e54ad0fe16 (diff)
parent90110d7645e5035ea59bc5c72fac4e11ad55a6ef (diff)
downloadgit-e7779c2eca417c0defd3cd8ad249b0b9cfc66d85.tar.gz
git-e7779c2eca417c0defd3cd8ad249b0b9cfc66d85.tar.xz
Merge branch 'rj/mingw-isguid'
By Ramsay Jones * rj/mingw-isguid: compat/mingw.h: Set S_ISUID to prevent a fast-import test failure
Diffstat (limited to 'compat/mingw.h')
-rw-r--r--compat/mingw.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index ef5b15014..61a652138 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -22,9 +22,10 @@ typedef int socklen_t;
#define S_IWOTH 0
#define S_IXOTH 0
#define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH)
-#define S_ISUID 0
-#define S_ISGID 0
-#define S_ISVTX 0
+
+#define S_ISUID 0004000
+#define S_ISGID 0002000
+#define S_ISVTX 0001000
#define WIFEXITED(x) 1
#define WIFSIGNALED(x) 0