aboutsummaryrefslogtreecommitdiff
path: root/lib/arch/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arch/api.h')
-rw-r--r--lib/arch/api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/arch/api.h b/lib/arch/api.h
index 3dd5c92..1b421cb 100644
--- a/lib/arch/api.h
+++ b/lib/arch/api.h
@@ -12,6 +12,8 @@ static_assert(false, "Matcha Threads only supported on Linux!");
// fall-through: arm64 support
#elif defined(__arm__)
// fall-through: armv7 support
+#elif defined(__riscv) && __riscv_xlen == 64
+// fall-through: riscv64 support
#else
static_assert(false, "Unsupported architecture!");
#endif