std.posix: update LFS64 interfaces for android bionic C

This commit is contained in:
孙冰 2025-03-26 20:00:05 +08:00
parent d7e944a628
commit 0118912e2d
No known key found for this signature in database
GPG Key ID: F7795F8C590626AB

View File

@ -7479,7 +7479,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.
///