mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Define std.c.MADV for openbsd
This commit is contained in:
parent
3a08d2f162
commit
6fc5923a54
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue