authorgravatar for mrjbq7@gmail.comJohn Benediktsson <mrjbq7@gmail.com> 2025-02-02 10:25:33-08:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-02-03 15:44:27+01:00
log7309a13bd880982209832c4845912bddc245dcc3
treea0e05adc95688e8c17b6d76aaac1870b0e348876
parentd358ef804eb4aeba16bc2b285d9e3b146b1a1fba

std.c: fix timerfd_clockid_t.MONOTONIC on freebsd


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

lib/std/c.zig+1-1
...@@ -224,7 +224,7 @@ pub const TIMERFD_CLOCK = timerfd_clockid_t;...@@ -224,7 +224,7 @@ pub const TIMERFD_CLOCK = timerfd_clockid_t;
224pub const timerfd_clockid_t = switch (native_os) {224pub const timerfd_clockid_t = switch (native_os) {
225 .freebsd => enum(u32) {225 .freebsd => enum(u32) {
226 REALTIME = 0,226 REALTIME = 0,
227 MONOTONIC = 1,227 MONOTONIC = 4,
228 _,228 _,
229 },229 },
230 .linux => linux.timerfd_clockid_t,230 .linux => linux.timerfd_clockid_t,