From f7490335a44e88ea341433e7ec24cc8a2d18ff93 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Mon, 3 Jun 2024 04:22:47 -0700 Subject: [PATCH] GDNative: Fix Linux riscv warning about ignored `sysv_abi` --- modules/gdnative/include/gdn/gdnative.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdnative/include/gdn/gdnative.h b/modules/gdnative/include/gdn/gdnative.h index f28112065..0162a817c 100644 --- a/modules/gdnative/include/gdn/gdnative.h +++ b/modules/gdnative/include/gdn/gdnative.h @@ -46,7 +46,7 @@ extern "C" { #define GDCALLINGCONV __attribute__((sysv_abi)) #endif #else // Linux/BSD/Web -#if defined(__aarch64__) || defined(__arm__) +#if defined(__aarch64__) || defined(__arm__) || defined(__riscv) #define GDCALLINGCONV #else #define GDCALLINGCONV __attribute__((sysv_abi))