ARM: Special-case O_DIRECTORY.

* include/fcntl.h (O_DIRECTORY): Special-case for ARM.
This commit is contained in:
Danny Milosavljevic 2019-03-13 23:28:35 +01:00 committed by Jan Nieuwenhuizen
parent 1f6ff076b2
commit 24299d80ff
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 6 additions and 0 deletions

View File

@ -37,7 +37,13 @@
#define O_EXCL 0x80
#define O_TRUNC 0x200
#define O_APPEND 0x400
#ifdef __arm__
#define O_DIRECTORY 0x4000
/*#define O_DIRECT 0x10000*/
#else
#define O_DIRECTORY 0x10000
#endif
// *INDENT-ON*
#define FD_CLOEXEC 1