authorgravatar for bblack@wikimedia.orgBrandon Black <bblack@wikimedia.org> 2026-09-02 17:57:24-05:00
committergravatar for bblack@wikimedia.orgBrandon Black <bblack@wikimedia.org> 2026-09-02 18:24:20-05:00
loge78ea8f2cb3677c0a104319b8aa5e37ea64d9cfa
treed51d542a6504ce2e72a8dab02e803e74c9f4a77b
parent79837d51123460e4f0a04ba523d01b10f7c314cd

std.c: hook up IP, IPV6, IPTOS consts for Darwin

These were already defined in std.c.darwin, but weren't included in the appropriate std.c top-level switches.

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

lib/std/c.zig+3
......@@ -6614,6 +6614,7 @@ pub const IP = switch (native_os) {
66146614 .illumos => illumos.IP,
66156615 .haiku => haiku.IP,
66166616 .serenity => serenity.IP,
6617 .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => darwin.IP,
66176618 else => void,
66186619};
66196620pub const IPV6 = switch (native_os) {
......@@ -6625,6 +6626,7 @@ pub const IPV6 = switch (native_os) {
66256626 .illumos => illumos.IPV6,
66266627 .haiku => haiku.IPV6,
66276628 .serenity => serenity.IPV6,
6629 .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => darwin.IPV6,
66286630 else => void,
66296631};
66306632pub const IPTOS = switch (native_os) {
......@@ -6636,6 +6638,7 @@ pub const IPTOS = switch (native_os) {
66366638 .illumos => illumos.IPTOS,
66376639 .haiku => haiku.IPTOS,
66386640 .serenity => serenity.IPTOS,
6641 .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => darwin.IPTOS,
66396642 else => void,
66406643};
66416644pub const SOL = switch (native_os) {