Commit 0118912e2d

孙冰 <sunb@qmrz.net>
2025-03-26 13:00:05
std.posix: update LFS64 interfaces for android bionic C
1 parent d7e944a
Changed files (1)
lib
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.
 ///