Force _LARGEFILE64_SOURCE on
Upstream musl has stopped implying _LARGEFILE64_SOURCE from _GNU_SOURCE
in [1]. Set it in the Android wrappers around the musl headers whenever
_GNU_SOURCE is set for now. This may only be a temporary workaround, as
musl may remove the LFS64 macros completely in a future version, at which
point we'll either need to fix all Android host code to use the non-64
suffixed versions, or add the macros to the Android wrapper headers.
[1] https://git.musl-libc.org/cgit/musl/commit/?id=25e6fee27f4a293728dd15b659170e7b9c7db9bc
Bug: 286415000
Test: m USE_HOST_MUSL=true host-native -k
Change-Id: I45ef347adf8b657b71934b3a95dc4642b81d4650
1 file changed