ARM: Special-case O_DIRECTORY.
* include/fcntl.h (O_DIRECTORY): Special-case for ARM.
This commit is contained in:
parent
1f6ff076b2
commit
24299d80ff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue