mirror of
https://github.com/ziglang/zig.git
synced 2026-02-18 23:39:17 +00:00
std.c: fix timerfd_clockid_t.MONOTONIC on freebsd
This commit is contained in:
parent
d358ef804e
commit
7309a13bd8
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user