aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRSDuck <rsduck@users.noreply.github.com>2020-02-04 18:50:16 +0100
committerRSDuck <rsduck@users.noreply.github.com>2020-06-16 11:57:52 +0200
commit3173e6e25d4456ec3ba26bed18d212bdf6cdfe81 (patch)
treec13c288315dc053eaad8d8c299ac7ada1e9d5cfe /src
parent0d83e98e04548eb7b860df53be0a76e9ecb0809b (diff)
re add error for unsupported JIT platforms
Diffstat (limited to 'src')
-rw-r--r--src/ARMJIT.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ARMJIT.cpp b/src/ARMJIT.cpp
index 561fabb..208801e 100644
--- a/src/ARMJIT.cpp
+++ b/src/ARMJIT.cpp
@@ -8,8 +8,10 @@
#include "ARMJIT_Internal.h"
#if defined(__x86_64__)
#include "ARMJIT_x64/ARMJIT_Compiler.h"
-#else
+#elif defined(__aarch64__)
#include "ARMJIT_A64/ARMJIT_Compiler.h"
+#else
+#error "The current target platform doesn't have a JIT backend"
#endif
#include "ARMInterpreter_ALU.h"