From 848141e2a2da9489f3048d34899e81c849df7e72 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 15 Feb 2024 09:10:56 +0000 Subject: [PATCH] Enable support on riscv64 --- include/Random123/features/gccfeatures.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Random123/features/gccfeatures.h b/include/Random123/features/gccfeatures.h index 51c46aa..00e27b4 100644 --- a/include/Random123/features/gccfeatures.h +++ b/include/Random123/features/gccfeatures.h @@ -34,7 +34,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define R123_GNUC_VERSION (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__) -#if !defined(__x86_64__) && !defined(__i386__) && !defined(__powerpc__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__s390x__) +#if !defined(__x86_64__) && !defined(__i386__) && !defined(__powerpc__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__s390x__) && !defined(__riscv) # error "This code has only been tested on x86, powerpc and a few arm platforms." #include { /* maybe an unbalanced brace will terminate the compilation */