Skip to content

Commit db7db48

Browse files
authored
Merge pull request #23339 from Iced-Sun/master
std.posix: update LFS64 interfaces for android bionic C
2 parents 0ed905b + 0118912 commit db7db48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/std/Target.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ pub const Os = struct {
482482

483483
break :blk default_min;
484484
},
485-
.android = 14,
485+
.android = 24,
486486
},
487487
},
488488
.rtems => .{

lib/std/posix.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -7489,7 +7489,7 @@ pub fn ioctl_SIOCGIFINDEX(fd: fd_t, ifr: *ifreq) IoCtl_SIOCGIFINDEX_Error!void {
74897489
}
74907490
}
74917491

7492-
const lfs64_abi = native_os == .linux and builtin.link_libc and builtin.abi.isGnu();
7492+
const lfs64_abi = native_os == .linux and builtin.link_libc and (builtin.abi.isGnu() or builtin.abi.isAndroid());
74937493

74947494
/// Whether or not `error.Unexpected` will print its value and a stack trace.
74957495
///

0 commit comments

Comments
 (0)