| ... | ... | @@ -9460,7 +9460,11 @@ pub const UTIME = struct { |
| 9460 | 9460 | }; |
| 9461 | 9461 | |
| 9462 | 9462 | // https://github.com/ziglang/zig/issues/4726#issuecomment-2190337877 |
| 9463 | | pub const timespec = if (native_arch == .hexagon or native_arch == .riscv32) kernel_timespec else extern struct { |
| 9463 | const use_kernel_timespec = native_arch == .hexagon or native_arch == .riscv32 or switch (native_abi) { |
| 9464 | .gnux32, .muslx32, .x32 => true, |
| 9465 | else => false, |
| 9466 | }; |
| 9467 | pub const timespec = if (use_kernel_timespec) kernel_timespec else extern struct { |
| 9464 | 9468 | sec: isize, |
| 9465 | 9469 | nsec: isize, |
| 9466 | 9470 | }; |