diff --git a/src/cpu.cpp b/src/cpu.cpp index 19762efc409..2231bedfb9b 100644 --- a/src/cpu.cpp +++ b/src/cpu.cpp @@ -128,7 +128,7 @@ #include #endif -#if (defined _WIN32 && (__aarch64__ || __arm__)) +#if (defined _WIN32 && (__aarch64__ || __arm__)) || ((defined __ANDROID__ || defined __linux__) && __riscv) #define RUAPU_IMPLEMENTATION #include "ruapu.h" #endif