mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Fix std.c.MSF.SYNC for freebsd, openbsd, dragonfly
This commit is contained in:
parent
6fc5923a54
commit
6bdea35ce5
1 changed files with 11 additions and 1 deletions
|
|
@ -1640,7 +1640,17 @@ pub const MSF = switch (native_os) {
|
|||
pub const DEACTIVATE = 0x8;
|
||||
pub const SYNC = 0x10;
|
||||
},
|
||||
.openbsd, .haiku, .dragonfly, .netbsd, .illumos, .freebsd => struct {
|
||||
.freebsd, .dragonfly => struct {
|
||||
pub const SYNC = 0;
|
||||
pub const ASYNC = 1;
|
||||
pub const INVALIDATE = 2;
|
||||
},
|
||||
.openbsd => struct {
|
||||
pub const ASYNC = 1;
|
||||
pub const SYNC = 2;
|
||||
pub const INVALIDATE = 4;
|
||||
},
|
||||
.haiku, .netbsd, .illumos => struct {
|
||||
pub const ASYNC = 1;
|
||||
pub const INVALIDATE = 2;
|
||||
pub const SYNC = 4;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue