summaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-12-16 12:55:36 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-16 12:55:36 -0800
commitb5c6aac01baf9164e08915b348490710e83119f9 (patch)
tree4099aab13b34925e45a6b57bb0af30288a22739e /compat/mingw.h
parentMerge branch 'nd/extended-sha1-relpath' (diff)
parentmsvc: Fix macro redefinition warnings (diff)
downloadtgif-b5c6aac01baf9164e08915b348490710e83119f9.tar.xz
Merge branch 'rj/msvc-fix'
* rj/msvc-fix: msvc: Fix macro redefinition warnings msvc: Fix build by adding missing INTMAX_MAX define msvc: git-daemon.exe: Fix linker "unresolved externals" error msvc: Fix compilation errors in compat/win32/sys/poll.c
Diffstat (limited to 'compat/mingw.h')
-rw-r--r--compat/mingw.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index 2283071109..cafc1eb08a 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -14,12 +14,6 @@ typedef int socklen_t;
#define S_ISLNK(x) (((x) & S_IFMT) == S_IFLNK)
#define S_ISSOCK(x) 0
-#ifndef _STAT_H_
-#define S_IRUSR 0
-#define S_IWUSR 0
-#define S_IXUSR 0
-#define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR)
-#endif
#define S_IRGRP 0
#define S_IWGRP 0
#define S_IXGRP 0