aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_arch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 25c2cff8..220f3df2 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -300,7 +300,11 @@
300 300
301/* Check target-specific constraints. */ 301/* Check target-specific constraints. */
302#ifndef _BUILDVM_H 302#ifndef _BUILDVM_H
303#if LJ_TARGET_ARM 303#if LJ_TARGET_X64
304#if __USING_SJLJ_EXCEPTIONS__
305#error "Need a C compiler with native exception handling on x64"
306#endif
307#elif LJ_TARGET_ARM
304#if defined(__ARMEB__) 308#if defined(__ARMEB__)
305#error "No support for big-endian ARM" 309#error "No support for big-endian ARM"
306#endif 310#endif