That means you're probably using Clang rather than GCC, which may explain the problem. It probably needs a more fine-grained `ifdef` [here][1]. Try removing the `ifdef` half of that in your local copy, rebuilding it to use the `else` version. If that works, then you may be able to suggest a modification to the condition that will make Clang take the "else" path on NDK20. [1]: https://sqlite.org/src/info?udc=1&ln=196&name=5483382f76b15c3d