authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-03-26 23:25:08+01:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2025-03-26 23:25:08+01:00
logdb7db48028b79842bffe2227c14d094800351373
tree0fff408bf2504b121b04b59c8a474253b9690a69
parent0ed905b9c6f7a3d69027fba5e4f6a1ea4f535e39
parent0118912e2d844d669ed67352064235854102fdee
signaturebadge-check Signed by PGP key B5690EEEBB952194

Merge pull request #23339 from Iced-Sun/master

std.posix: update LFS64 interfaces for android bionic C

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

lib/std/Target.zig+1-1
...@@ -482,7 +482,7 @@ pub const Os = struct {...@@ -482,7 +482,7 @@ pub const Os = struct {
482482
483 break :blk default_min;483 break :blk default_min;
484 },484 },
485 .android = 14,485 .android = 24,
486 },486 },
487 },487 },
488 .rtems => .{488 .rtems => .{
lib/std/posix.zig+1-1
...@@ -7489,7 +7489,7 @@ pub fn ioctl_SIOCGIFINDEX(fd: fd_t, ifr: *ifreq) IoCtl_SIOCGIFINDEX_Error!void {...@@ -7489,7 +7489,7 @@ pub fn ioctl_SIOCGIFINDEX(fd: fd_t, ifr: *ifreq) IoCtl_SIOCGIFINDEX_Error!void {
7489 }7489 }
7490}7490}
74917491
7492const lfs64_abi = native_os == .linux and builtin.link_libc and builtin.abi.isGnu();7492const lfs64_abi = native_os == .linux and builtin.link_libc and (builtin.abi.isGnu() or builtin.abi.isAndroid());
74937493
7494/// Whether or not `error.Unexpected` will print its value and a stack trace.7494/// Whether or not `error.Unexpected` will print its value and a stack trace.
7495///7495///