diff options
author | Mike Pall <mike> | 2011-10-19 18:14:46 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-10-19 18:14:46 +0200 |
commit | e80478c44b7e4bf32a509c480edb39bd39ede51b (patch) | |
tree | d19abf3b51a45f785112cd1803832a19bece651c /src/lj_arch.h | |
parent | 00591a2539d62dc43f1dc2d9250d78e1182765d8 (diff) | |
download | luajit-e80478c44b7e4bf32a509c480edb39bd39ede51b.tar.gz luajit-e80478c44b7e4bf32a509c480edb39bd39ede51b.tar.bz2 luajit-e80478c44b7e4bf32a509c480edb39bd39ede51b.zip |
Rearrange defines for workarounds to embedded operating systems.
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 |