Prevent erroneous x64 builds with non-native exception handling.

This commit is contained in:
Mike Pall 2012-11-14 22:16:10 +01:00
parent c77a9e4c65
commit 2689f32453

View File

@ -300,7 +300,11 @@
/* Check target-specific constraints. */
#ifndef _BUILDVM_H
#if LJ_TARGET_ARM
#if LJ_TARGET_X64
#if __USING_SJLJ_EXCEPTIONS__
#error "Need a C compiler with native exception handling on x64"
#endif
#elif LJ_TARGET_ARM
#if defined(__ARMEB__)
#error "No support for big-endian ARM"
#endif