Rearrange defines for workarounds to embedded operating systems.

This commit is contained in:
Mike Pall
2011-10-19 18:14:46 +02:00
parent 00591a2539
commit e80478c44b
5 changed files with 19 additions and 10 deletions

View File

@@ -279,4 +279,16 @@
#define LJ_64 1
#endif
/* Various workarounds for embedded operating systems. */
#if defined(__ANDROID__) || defined(__symbian__)
#define LUAJIT_NO_LOG2
#endif
#if defined(__symbian__)
#define LUAJIT_NO_EXP2
#endif
#if defined(__symbian__) || (LJ_TARGET_ARM && LJ_TARGET_OSX)
#define LUAJIT_NO_UNWIND
#endif
#endif