mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix O_Flag_Bits.EXEC for non Linux platforms on posix/fcntl.
This commit is contained in:
@@ -181,9 +181,7 @@ when ODIN_OS == .Linux {
|
|||||||
// RSYNC = O_RSYNC,
|
// RSYNC = O_RSYNC,
|
||||||
|
|
||||||
// Execute only.
|
// Execute only.
|
||||||
// NOTE: use with `posix.O_ENTER + { .OTHER_FLAG, .OTHER_FLAG }`, unfortunately can't be in
|
EXEC = log2(O_EXEC),
|
||||||
// this bit set enum because it is 0 on some platforms and a value on others.
|
|
||||||
EXEC = O_EXEC,
|
|
||||||
|
|
||||||
// Reading and writing.
|
// Reading and writing.
|
||||||
RDWR = log2(O_RDWR),
|
RDWR = log2(O_RDWR),
|
||||||
|
|||||||
Reference in New Issue
Block a user