authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-03 18:48:53+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-03 18:48:53+02:00
log64e119124f03e94467032949cbd9b51c8311db05
treea014408eaf4b855f9024a4e1f0f25407669bd351
parentd71076c9826ddd66bfcc04b9a6ded9dbf540d239
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.os.linux: Fix CGT_SYM for mips/mips64.


2 files changed, 4 insertions(+), 4 deletions(-)

lib/std/os/linux/mips.zig+2-2
...@@ -242,8 +242,8 @@ pub const F = struct {...@@ -242,8 +242,8 @@ pub const F = struct {
242pub const MMAP2_UNIT = 4096;242pub const MMAP2_UNIT = 4096;
243243
244pub const VDSO = struct {244pub const VDSO = struct {
245 pub const CGT_SYM = "__kernel_clock_gettime";245 pub const CGT_SYM = "__vdso_clock_gettime";
246 pub const CGT_VER = "LINUX_2.6.39";246 pub const CGT_VER = "LINUX_2.6";
247};247};
248248
249pub const Flock = extern struct {249pub const Flock = extern struct {
lib/std/os/linux/mips64.zig+2-2
...@@ -227,8 +227,8 @@ pub const F = struct {...@@ -227,8 +227,8 @@ pub const F = struct {
227pub const MMAP2_UNIT = 4096;227pub const MMAP2_UNIT = 4096;
228228
229pub const VDSO = struct {229pub const VDSO = struct {
230 pub const CGT_SYM = "__kernel_clock_gettime";230 pub const CGT_SYM = "__vdso_clock_gettime";
231 pub const CGT_VER = "LINUX_2.6.39";231 pub const CGT_VER = "LINUX_2.6";
232};232};
233233
234pub const Flock = extern struct {234pub const Flock = extern struct {