authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-13 20:56:26+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-22 22:15:31+02:00
loga835e25e606ba80c8a9a6fe75e647cf532ee1bcf
treecd93659574d8645f0346500db4fa66e573f67350
parent18afee16c9764a6a0e528c30893deab39e5bb14b
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: define cpu_set_t for dragonfly


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

lib/std/c.zig+3
...@@ -4093,6 +4093,9 @@ pub const clock_t = switch (native_os) {...@@ -4093,6 +4093,9 @@ pub const clock_t = switch (native_os) {
4093pub const cpu_set_t = switch (native_os) {4093pub const cpu_set_t = switch (native_os) {
4094 .linux => linux.cpu_set_t,4094 .linux => linux.cpu_set_t,
4095 .emscripten => emscripten.cpu_set_t,4095 .emscripten => emscripten.cpu_set_t,
4096 .dragonfly => extern struct {
4097 ary: [4]u64,
4098 },
4096 else => void,4099 else => void,
4097};4100};
4098pub const dl_phdr_info = switch (native_os) {4101pub const dl_phdr_info = switch (native_os) {