Commit 7309a13bd8

John Benediktsson <mrjbq7@gmail.com>
2025-02-02 19:25:33
std.c: fix timerfd_clockid_t.MONOTONIC on freebsd
1 parent d358ef8
Changed files (1)
lib
std
lib/std/c.zig
@@ -224,7 +224,7 @@ pub const TIMERFD_CLOCK = timerfd_clockid_t;
 pub const timerfd_clockid_t = switch (native_os) {
     .freebsd => enum(u32) {
         REALTIME = 0,
-        MONOTONIC = 1,
+        MONOTONIC = 4,
         _,
     },
     .linux => linux.timerfd_clockid_t,