From f5f694205054b66dc800135c9b01673f69a7a671 Mon Sep 17 00:00:00 2001 From: sterprim Date: Thu, 4 Nov 2021 11:43:19 +0800 Subject: [PATCH] Add support for riscv --- Sources/Core/System/detect_cpu_ext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Core/System/detect_cpu_ext.cpp b/Sources/Core/System/detect_cpu_ext.cpp index 5a1c73203..964c5d97e 100644 --- a/Sources/Core/System/detect_cpu_ext.cpp +++ b/Sources/Core/System/detect_cpu_ext.cpp @@ -32,7 +32,7 @@ namespace clan { -#if defined(ARM_PLATFORM) || defined(CL_ARM) || defined(__sun) +#if defined(ARM_PLATFORM) || defined(CL_ARM) || defined(__sun) || defined(__riscv) bool System::detect_cpu_extension(CPU_ExtensionPPC ext) { throw ("Congratulations, you've just been selected to code this feature!");