Explicitly require NDK 20+.

This also means we no longer need anything like
d66ef73a92
This commit is contained in:
Joseph Cloutier
2022-05-21 16:22:07 -04:00
parent 794ac63b86
commit f5a24dc40a
2 changed files with 1 additions and 5 deletions

View File

@@ -155,7 +155,7 @@
<section if="android">
<compilerflag value="-Wno-psabi" unless="HXCPP_CLANG || NDKV20+" />
<error value="NDK version 20 or higher is required." unless="NDKV20+" />
<compilerflag value="-fsigned-char" />
<file name="${NATIVE_TOOLKIT_PATH}/openal/alc/backends/opensl.cpp" />

View File

@@ -102,11 +102,7 @@
#define HAVE_MODFF
/* Define if we have the log2f function */
#if defined(HXCPP_ARM64) || defined(HXCPP_CPP11) // Not supporting in Android NDK platform < 18, define when increasing platform
#define HAVE_LOG2F
#else
/* undef HAVE_LOG2F */
#endif
/* Define if we have the cbrtf function */
#define HAVE_CBRTF