Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation on newer Android NDKs #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

player-03
Copy link

Same as #4, but this one maintains backwards compatibility. Tested with NDKs 15 and 21.

justin-espedal and others added 4 commits September 17, 2020 17:19
__NDK_MAJOR__ is present for NDK 16+. NDK 19+ includes log2f.
log2f is available in the arm64 headers.
Before `__NDK_MAJOR__` became available, we determined availability
based on `HXCPP_CPP11`. With an extra conditional, we can check both.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants