diff options
author | Mohamed A. Bamakhrama <mohamed@alumni.tum.de> | 2020-08-03 23:19:23 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2021-11-12 12:38:55 +0100 |
commit | e792072f8a6f016eb5f2c8653f261ba7c88e6392 (patch) | |
tree | 52885f22f11545ff43fba981f024bb030fc2fb4e /lib | |
parent | e289a8059eac7d0514f8a20ffe6464fc18db1450 (diff) | |
download | abc-e792072f8a6f016eb5f2c8653f261ba7c88e6392.tar.gz abc-e792072f8a6f016eb5f2c8653f261ba7c88e6392.tar.bz2 abc-e792072f8a6f016eb5f2c8653f261ba7c88e6392.zip |
Define S_IREAD|IWRITE macros using IRUSR|IWUSR
On platforms such as Android, legacy macros are no longer defined.
Hence, we define them in terms of the new POSIX macros if the new ones are defined. Otherwise, we throw an error.
Signed-off-by: Mohamed A. Bamakhrama <mohamed@alumni.tum.de>
Signed-off-by: Miodrag Milanovic <mmicko@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions