Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure.ac: Make it possible to build on Android Termux
The recent Termux's clang predefines `__ANDROID_API__` as a fixed number 24. However, when it is lower to the current device version, some functions that "configure" detemines available are not declared correctly in the header files. This change forces to overwrite the predefined `__ANDROID_API__` macro with the current device version. ref: termux/termux-packages#6176
- Loading branch information