mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
Define std.c.MADV for openbsd
This commit is contained in:
parent
3a08d2f162
commit
6fc5923a54
@ -1599,7 +1599,7 @@ pub const MADV = switch (native_os) {
|
|||||||
pub const SEQUENTIAL = 0x5;
|
pub const SEQUENTIAL = 0x5;
|
||||||
pub const RANDOM = 0x6;
|
pub const RANDOM = 0x6;
|
||||||
},
|
},
|
||||||
.netbsd => struct {
|
.netbsd, .openbsd => struct {
|
||||||
pub const NORMAL = 0;
|
pub const NORMAL = 0;
|
||||||
pub const RANDOM = 1;
|
pub const RANDOM = 1;
|
||||||
pub const SEQUENTIAL = 2;
|
pub const SEQUENTIAL = 2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user