summaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
authorMike Pall <mike>2016-05-29 18:12:58 +0200
committerMike Pall <mike>2016-05-29 18:12:58 +0200
commit384ce2f9eff0322eca76a26fdaadd5840043710a (patch)
tree84fdcaf85f8464da4eb0dc6b3af678ff7d119e4f /src/lj_arch.h
parent56fe899a06c5a05e8d4ceb8972b3c45dab1c2979 (diff)
downloadluajit-384ce2f9eff0322eca76a26fdaadd5840043710a.tar.gz
luajit-384ce2f9eff0322eca76a26fdaadd5840043710a.tar.bz2
luajit-384ce2f9eff0322eca76a26fdaadd5840043710a.zip
MIPS: Fix build failures and warnings.
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index bbcdc739..cc5a0a66 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -428,11 +428,11 @@
428#error "No support for PPC/e500 anymore (use LuaJIT 2.0)" 428#error "No support for PPC/e500 anymore (use LuaJIT 2.0)"
429#endif 429#endif
430#elif LJ_TARGET_MIPS32 430#elif LJ_TARGET_MIPS32
431#if _MIPS_SIM != _MIPS_SIM_ABI32 431#if !((defined(_MIPS_SIM_ABI32) && _MIPS_SIM == _MIPS_SIM_ABI32) || (defined(_ABIO32) && _MIPS_SIM == _ABIO32))
432#error "Only o32 ABI supported for MIPS32" 432#error "Only o32 ABI supported for MIPS32"
433#endif 433#endif
434#elif LJ_TARGET_MIPS64 434#elif LJ_TARGET_MIPS64
435#if _MIPS_SIM != _MIPS_SIM_ABI64 435#if !((defined(_MIPS_SIM_ABI64) && _MIPS_SIM == _MIPS_SIM_ABI64) || (defined(_ABI64) && _MIPS_SIM == _ABI64))
436#error "Only n64 ABI supported for MIPS64" 436#error "Only n64 ABI supported for MIPS64"
437#endif 437#endif
438#endif 438#endif