From 2e4a31287705d8437cddd109c12b7e11825192bc Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 9 Jun 2021 23:05:05 +0200 Subject: added riscv64 --- lib/arch/api.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/arch/api.h') 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 -- cgit v1.2.3