Browse Source

Properly fail unsupported cross-compile to MIPS64.

Mike Pall 10 years ago
parent
commit
7ff476804e
1 changed files with 3 additions and 0 deletions
  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