| ... | @@ -1599,6 +1599,15 @@ pub const MADV = switch (native_os) { | ... | @@ -1599,6 +1599,15 @@ pub const MADV = switch (native_os) { |
| 1599 | pub const SEQUENTIAL = 0x5; | 1599 | pub const SEQUENTIAL = 0x5; |
| 1600 | pub const RANDOM = 0x6; | 1600 | pub const RANDOM = 0x6; |
| 1601 | }, | 1601 | }, |
| | 1602 | .netbsd => struct { |
| | 1603 | pub const NORMAL = 0; |
| | 1604 | pub const RANDOM = 1; |
| | 1605 | pub const SEQUENTIAL = 2; |
| | 1606 | pub const WILLNEED = 3; |
| | 1607 | pub const DONTNEED = 4; |
| | 1608 | pub const SPACEAVAIL = 5; |
| | 1609 | pub const FREE = 6; |
| | 1610 | }, |
| 1602 | else => void, | 1611 | else => void, |
| 1603 | }; | 1612 | }; |
| 1604 | pub const MCL = switch (native_os) { | 1613 | pub const MCL = switch (native_os) { |