فهرست منبع

added ARM error (close #185)

ncannasse 7 سال پیش
والد
کامیت
41878f94ef
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      src/jit.c

+ 4 - 0
src/jit.c

@@ -25,6 +25,10 @@
 #include <math.h>
 #include <math.h>
 #include <hlmodule.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
 #ifdef HL_DEBUG
 #	define JIT_DEBUG
 #	define JIT_DEBUG
 #endif
 #endif