| ... | @@ -11088,7 +11088,7 @@ pub extern "c" fn pthread_get_name_np(thread: pthread_t, name: [*:0]u8, len: usi | ... | @@ -11088,7 +11088,7 @@ pub extern "c" fn pthread_get_name_np(thread: pthread_t, name: [*:0]u8, len: usi |
| 11088 | | 11088 | |
| 11089 | pub const TIMER = switch (native_os) { | 11089 | pub const TIMER = switch (native_os) { |
| 11090 | .linux, .emscripten => std.os.linux.TIMER, | 11090 | .linux, .emscripten => std.os.linux.TIMER, |
| 11091 | .openbsd, .netbsd, .wasi, .windows, .freebsd => packed struct(u32) { | 11091 | .openbsd, .netbsd, .wasi, .windows, .freebsd, .serenity => packed struct(u32) { |
| 11092 | ABSTIME: bool, | 11092 | ABSTIME: bool, |
| 11093 | _: u31 = 0, | 11093 | _: u31 = 0, |
| 11094 | }, | 11094 | }, |
| ... | @@ -11096,7 +11096,7 @@ pub const TIMER = switch (native_os) { | ... | @@ -11096,7 +11096,7 @@ pub const TIMER = switch (native_os) { |
| 11096 | }; | 11096 | }; |
| 11097 | | 11097 | |
| 11098 | pub const clock_nanosleep = switch (native_os) { | 11098 | pub const clock_nanosleep = switch (native_os) { |
| 11099 | .linux, .emscripten, .netbsd, .wasi, .windows, .freebsd => private.clock_nanosleep, | 11099 | .linux, .emscripten, .netbsd, .wasi, .windows, .freebsd, .serenity => private.clock_nanosleep, |
| 11100 | else => {}, | 11100 | else => {}, |
| 11101 | }; | 11101 | }; |
| 11102 | | 11102 | |