summaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
authorMike Pall <mike>2014-12-08 02:02:34 +0100
committerMike Pall <mike>2014-12-08 02:02:34 +0100
commitad03eba715e5e0d0bd0f3c0ddef4b8f5bbb0c626 (patch)
tree3404e1b148e08f2320a9937ca4849dc794b36bad /src/lj_arch.h
parente03df1e3395bc719d43bd9196d0290757f992b2f (diff)
downloadluajit-ad03eba715e5e0d0bd0f3c0ddef4b8f5bbb0c626.tar.gz
luajit-ad03eba715e5e0d0bd0f3c0ddef4b8f5bbb0c626.tar.bz2
luajit-ad03eba715e5e0d0bd0f3c0ddef4b8f5bbb0c626.zip
x86/x64: Drop internal x87 math functions. Use libm functions.
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index da16a193..36b38886 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -426,11 +426,11 @@
426#define LJ_TARGET_UNALIGNED 0 426#define LJ_TARGET_UNALIGNED 0
427#endif 427#endif
428 428
429/* Various workarounds for embedded operating systems. */ 429/* Various workarounds for embedded operating systems or weak C runtimes. */
430#if (defined(__ANDROID__) && !defined(LJ_TARGET_X86ORX64)) || defined(__symbian__) || LJ_TARGET_XBOX360 430#if (defined(__ANDROID__) && !defined(LJ_TARGET_X86ORX64)) || defined(__symbian__) || LJ_TARGET_XBOX360 || LJ_TARGET_WINDOWS
431#define LUAJIT_NO_LOG2 431#define LUAJIT_NO_LOG2
432#endif 432#endif
433#if defined(__symbian__) 433#if defined(__symbian__) || LJ_TARGET_WINDOWS
434#define LUAJIT_NO_EXP2 434#define LUAJIT_NO_EXP2
435#endif 435#endif
436 436