motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 0118912e2d844d669ed67352064235854102fdee (tree)
parent d7e944a628c57e2c980b7c9b1aeb84a24930104c
Author: 孙冰 <sunb@qmrz.net>
Date:   Wed, 26 Mar 2025 20:00:05 +0800

std.posix: update LFS64 interfaces for android bionic C

Diffstat:
Mlib/std/posix.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/posix.zig b/lib/std/posix.zig @@ -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. ///