Skip to content

__ANDROID_API__ redefined after the upgrade from R20b to R23b #1824

Discussion options

You must be logged in to vote

typically you'd expect the compiler to set __ANDROID_API__ --- it's been doing that since 2016 (https://reviews.llvm.org/D26385). specifically your -target aarch64-linux-android19 (or whatever) gets turned into [the equivalent of] -D__ANDROID_API__=19 (or whatever).

where that comes from will depend on what build system you're using.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by little-strong666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants