authorgravatar for mrjbq7@gmail.comJohn Benediktsson <mrjbq7@gmail.com> 2025-09-19 17:31:48-07:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-20 19:21:14+02:00
log14fc4d481151d6ac0fb433d625cc97b4c2fe3eba
treeee152eb1d2b8a19e96085e4f800db7a9019072d1
parent7857bbd116dd5c9cbfd9cc9fcf7908dbdd413970

std.c: add MSG support for dragonfly


1 files changed, 16 insertions(+), 0 deletions(-)

lib/std/c.zig+16
...@@ -5825,6 +5825,22 @@ pub const MSG = switch (native_os) {...@@ -5825,6 +5825,22 @@ pub const MSG = switch (native_os) {
5825 pub const WAITFORONE = 0x1000;5825 pub const WAITFORONE = 0x1000;
5826 pub const CMSG_CLOFORK = 0x2000;5826 pub const CMSG_CLOFORK = 0x2000;
5827 },5827 },
5828 .dragonfly => struct {
5829 pub const OOB = 0x0001;
5830 pub const PEEK = 0x0002;
5831 pub const DONTROUTE = 0x0004;
5832 pub const EOR = 0x0008;
5833 pub const TRUNC = 0x0010;
5834 pub const CTRUNC = 0x0020;
5835 pub const WAITALL = 0x0040;
5836 pub const DONTWAIT = 0x0080;
5837 pub const NOSIGNAL = 0x0400;
5838 pub const SYNC = 0x0800;
5839 pub const CMSG_CLOEXEC = 0x1000;
5840 pub const CMSG_CLOFORK = 0x2000;
5841 pub const FBLOCKING = 0x10000;
5842 pub const FNONBLOCKING = 0x20000;
5843 },
5828 else => void,5844 else => void,
5829};5845};
5830pub const SOCK = switch (native_os) {5846pub const SOCK = switch (native_os) {