diff options
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r-- | src/lj_arch.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h index 355474fb..80ab051e 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h | |||
@@ -279,4 +279,16 @@ | |||
279 | #define LJ_64 1 | 279 | #define LJ_64 1 |
280 | #endif | 280 | #endif |
281 | 281 | ||
282 | /* Various workarounds for embedded operating systems. */ | ||
283 | #if defined(__ANDROID__) || defined(__symbian__) | ||
284 | #define LUAJIT_NO_LOG2 | ||
285 | #endif | ||
286 | #if defined(__symbian__) | ||
287 | #define LUAJIT_NO_EXP2 | ||
288 | #endif | ||
289 | |||
290 | #if defined(__symbian__) || (LJ_TARGET_ARM && LJ_TARGET_OSX) | ||
291 | #define LUAJIT_NO_UNWIND | ||
292 | #endif | ||
293 | |||
282 | #endif | 294 | #endif |