| ... | ... | @@ -2135,7 +2135,10 @@ pub fn flock(fd: fd_t, operation: i32) usize { |
| 2135 | 2135 | return syscall2(.flock, @as(u32, @bitCast(fd)), @as(u32, @bitCast(operation))); |
| 2136 | 2136 | } |
| 2137 | 2137 | |
| 2138 | | pub const Elf_Symndx = if (native_arch == .s390x) u64 else u32; |
| 2138 | pub const Elf_Symndx = switch (native_arch) { |
| 2139 | .alpha, .s390x => u64, |
| 2140 | else => u32, |
| 2141 | }; |
| 2139 | 2142 | |
| 2140 | 2143 | // We must follow the C calling convention when we call into the VDSO |
| 2141 | 2144 | const VdsoClockGettime = *align(1) const fn (clockid_t, *timespec) callconv(.c) usize; |