1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-10 21:33:38 +00:00

Updated so compiles for MIPS correctly

This commit is contained in:
Bryan Roe
2019-01-23 14:32:52 -08:00
parent 3a0f519f54
commit 97a2e5b12c
5 changed files with 43 additions and 15 deletions

View File

@@ -2373,7 +2373,7 @@ typedef struct duk_hthread duk_context;
* that too. Android doesn't have log2; disable all of these for Android.
*/
#if (defined(DUK_F_C99) || defined(DUK_F_CPP11) || (defined(_MSC_VER) && (_MSC_VER >= 1800))) && \
!defined(DUK_F_ANDROID) && !defined(DUK_F_MINT)
!defined(DUK_F_ANDROID) && !defined(DUK_F_MINT) && !defined(BADMATH)
#if !defined(DUK_CBRT)
#define DUK_CBRT cbrt
#endif