authorgravatar for ryan@zinascii.comRyan Zezeski <ryan@zinascii.com> 2025-10-25 10:38:41+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-25 12:44:17+02:00
logbd1332acaeabd7b846b4df7c63b1221858c80bf1
tree7ae238a50878bce61fe05c927565f5098402f0b4
parentac3e4f45194ecf01d697d0cdc0c7af76f56f103c
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: define MSG constants for solaris/illumos


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

lib/std/c.zig+14
...@@ -5776,6 +5776,20 @@ pub const MSG = switch (native_os) {...@@ -5776,6 +5776,20 @@ pub const MSG = switch (native_os) {
5776 pub const FBLOCKING = 0x10000;5776 pub const FBLOCKING = 0x10000;
5777 pub const FNONBLOCKING = 0x20000;5777 pub const FNONBLOCKING = 0x20000;
5778 },5778 },
5779 .solaris, .illumos => struct {
5780 pub const OOB = 0x0001;
5781 pub const PEEK = 0x0002;
5782 pub const DONTROUTE = 0x0004;
5783 pub const EOR = 0x0008;
5784 pub const CTRUNC = 0x0010;
5785 pub const TRUNC = 0x0020;
5786 pub const WAITALL = 0x0040;
5787 pub const DONTWAIT = 0x0080;
5788 pub const NOTIFICATION = 0x0100;
5789 pub const NOSIGNAL = 0x0200;
5790 pub const CMSG_CLOEXEC = 0x1000;
5791 pub const CMSG_CLOFORK = 0x2000;
5792 },
5779 else => void,5793 else => void,
5780};5794};
5781pub const SOCK = switch (native_os) {5795pub const SOCK = switch (native_os) {