authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-15 02:02:28+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-22 22:15:31+02:00
logf0280556a2102159fc37346d0c462e87a9c7bae9
treeca0f991be74dc172366a9a3aa385f3ec8624ebb9
parent8a8aab3ed92ac0e4223950917eb36e668783ef61
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: fix rlim_t width for haiku


1 files changed, 2 insertions(+), 1 deletions(-)

lib/std/c.zig+2-1
......@@ -4477,7 +4477,8 @@ pub const rlim_t = switch (native_os) {
44774477 .linux => linux.rlim_t,
44784478 .emscripten => emscripten.rlim_t,
44794479 .openbsd, .netbsd, .illumos, .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => u64,
4480 .haiku, .dragonfly, .freebsd => i64,
4480 .dragonfly, .freebsd => i64,
4481 .haiku => c_ulong,
44814482 // https://github.com/SerenityOS/serenity/blob/aae106e37b48f2158e68902293df1e4bf7b80c0f/Userland/Libraries/LibC/sys/resource.h#L54
44824483 .serenity => usize,
44834484 else => void,