mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
std.c.SOCK: define NONBLOCK and CLOEXEC for haiku
This commit is contained in:
parent
8cd56e7088
commit
8910ac2ba8
@ -5703,6 +5703,9 @@ pub const SOCK = switch (native_os) {
|
||||
pub const RAW = 3;
|
||||
pub const SEQPACKET = 5;
|
||||
pub const MISC = 255;
|
||||
|
||||
pub const NONBLOCK = 0x40000;
|
||||
pub const CLOEXEC = 0x80000;
|
||||
},
|
||||
.openbsd => struct {
|
||||
pub const STREAM = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user