diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig index ae89b4b20a6d14e0c6443328537041c428355898..c8101c19a4d6e87b22b80125a71505286d54cabc 100644 --- a/lib/std/Io/Threaded.zig +++ b/lib/std/Io/Threaded.zig @@ -5898,7 +5898,7 @@ pub fn futexWake(ptr: *const std.atomic.Value(u32), max_waiters: u32) void { /// It can also block threads until the value is set with cancelation via timed /// waits. Statically initializable; four bytes on all targets. pub const ResetEvent = switch (native_os) { - .netbsd => ResetEventPosix, + .illumos, .netbsd => ResetEventPosix, else => ResetEventFutex, };