mirror of
https://github.com/git/git.git
synced 2026-01-18 22:56:21 +00:00
MinGW: Add missing file mode bit defines
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
This commit is contained in:
committed by
Pat Thoyts
parent
7fd54b9826
commit
dc978147d8
@@ -14,6 +14,12 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user