projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e514228
)
add some traditional aliases to stat.h
author
Rich Felker
<dalias@aerifal.cx>
Tue, 12 Apr 2011 16:01:20 +0000
(12:01 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 12 Apr 2011 16:01:20 +0000
(12:01 -0400)
include/sys/stat.h
patch
|
blob
|
history
diff --git
a/include/sys/stat.h
b/include/sys/stat.h
index ec69f54d8ef975592e041c2a740313f9900acd97..5e339d5caeb05a2bb11debc4810d9115e267b753 100644
(file)
--- a/
include/sys/stat.h
+++ b/
include/sys/stat.h
@@
-90,6
+90,12
@@
int utimensat(int, const char *, const struct timespec [2], int);
int lchmod(const char *, mode_t);
#endif
+#ifdef _GNU_SOURCE
+#define S_IREAD S_IRUSR
+#define S_IWRITE S_IWUSR
+#define S_IEXEC S_IXUSR
+#endif
+
#ifdef __cplusplus
}
#endif