diff --git a/src/lj_arch.h b/src/lj_arch.h index 6811e1b3..25c2cff8 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h @@ -395,7 +395,7 @@ #endif /* Various workarounds for embedded operating systems. */ -#if defined(__ANDROID__) || defined(__symbian__) +#if (defined(__ANDROID__) && !defined(LJ_TARGET_X86ORX64)) || defined(__symbian__) #define LUAJIT_NO_LOG2 #endif #if defined(__symbian__)