add some traditional aliases to stat.h
This commit is contained in:
parent
e514228043
commit
7ecab79f58
1 changed files with 6 additions and 0 deletions
|
|
@ -90,6 +90,12 @@ int utimensat(int, const char *, const struct timespec [2], int);
|
||||||
int lchmod(const char *, mode_t);
|
int lchmod(const char *, mode_t);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _GNU_SOURCE
|
||||||
|
#define S_IREAD S_IRUSR
|
||||||
|
#define S_IWRITE S_IWUSR
|
||||||
|
#define S_IEXEC S_IXUSR
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue