| ... | @@ -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 | }; |
| 5781 | pub const SOCK = switch (native_os) { | 5795 | pub const SOCK = switch (native_os) { |