aboutsummaryrefslogtreecommitdiff
path: root/lib/arch.h
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-29 04:31:51 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-29 04:31:51 +0200
commit533a9e57de8cb74594499f625810ad812359d3fb (patch)
tree8e8eed62ab86416170b4c9716b36bae736d6b3a8 /lib/arch.h
parent48142327c37f716da307bd4a9b22576ad0a67c22 (diff)
downloadmatcha-threads-533a9e57de8cb74594499f625810ad812359d3fb.tar.gz
matcha-threads-533a9e57de8cb74594499f625810ad812359d3fb.zip
added basic arm64 support
Diffstat (limited to 'lib/arch.h')
-rw-r--r--lib/arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/arch.h b/lib/arch.h
index fc86cad..9604be8 100644
--- a/lib/arch.h
+++ b/lib/arch.h
@@ -8,6 +8,8 @@ static_assert(false, "Matcha Threads only supported on Linux!");
#if defined(__x86_64__) || defined(__amd64__)
# include "arch/x86_64/api.h"
+#elif defined(__aarch64__)
+# include "arch/arm64/api.h"
#else
static_assert(false, "Matcha Threads only supported on x86_64!");
#endif