Browse Source

added ARM error (close #185)

ncannasse 7 years ago
parent
commit
41878f94ef
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/jit.c

+ 4 - 0
src/jit.c

@@ -25,6 +25,10 @@
 #include <math.h>
 #include <hlmodule.h>
 
+#ifdef __arm__
+#	error "JIT does not support ARM processors, only x86 and x86-64 are supported, please use HashLink/C native compilation instead"
+#endif
+
 #ifdef HL_DEBUG
 #	define JIT_DEBUG
 #endif