瀏覽代碼

Properly fail unsupported cross-compile to MIPS64.

Mike Pall 10 年之前
父節點
當前提交
7ff476804e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/lj_arch.h

+ 3 - 0
src/lj_arch.h

@@ -340,6 +340,9 @@
 #if defined(__mips_soft_float)
 #error "No support for MIPS CPUs without FPU"
 #endif
+#if defined(_LP64)
+#error "No support for MIPS64"
+#endif
 #endif
 #endif