Merge pull request #23339 from Iced-Sun/master

std.posix: update LFS64 interfaces for android bionic C
This commit is contained in:
Alex Rønne Petersen 2025-03-26 23:25:08 +01:00 committed by GitHub
commit db7db48028
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -482,7 +482,7 @@ pub const Os = struct {
break :blk default_min;
},
.android = 14,
.android = 24,
},
},
.rtems => .{

View File

@ -7489,7 +7489,7 @@ pub fn ioctl_SIOCGIFINDEX(fd: fd_t, ifr: *ifreq) IoCtl_SIOCGIFINDEX_Error!void {
}
}
const lfs64_abi = native_os == .linux and builtin.link_libc and builtin.abi.isGnu();
const lfs64_abi = native_os == .linux and builtin.link_libc and (builtin.abi.isGnu() or builtin.abi.isAndroid());
/// Whether or not `error.Unexpected` will print its value and a stack trace.
///