From daa29299734d14321d6a5d9a900ecf9be64ee1be Mon Sep 17 00:00:00 2001 From: Karsten Blees Date: Fri, 7 Jan 2011 14:28:49 +0100 Subject: [PATCH] Remove dummy S_I[RWX]USR definitions These are declared in stat.h (for MinGW) or unistd.h (for MSVC, currently resulting in many duplicate definition warnings). As git actually uses these constants (in contrast to, e.g. S_I*GRP), there's no point in dummy-defining them to 0 anyway. Signed-off-by: Karsten Blees --- compat/mingw.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/compat/mingw.h b/compat/mingw.h index 9c00e75f4d..a9ad405053 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 -- 2.11.4.GIT