From 945a49064f862a939fdfbc12f63e36ecfea0c8d4 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Mon, 3 Jun 2024 04:22:47 -0700 Subject: [PATCH] [3.x] GDNative: Fix Linux riscv warning about ignored `sysv_abi` --- modules/gdnative/include/gdnative/gdnative.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdnative/include/gdnative/gdnative.h b/modules/gdnative/include/gdnative/gdnative.h index 29f0cf18c64..e1cc863c893 100644 --- a/modules/gdnative/include/gdnative/gdnative.h +++ b/modules/gdnative/include/gdnative/gdnative.h @@ -47,7 +47,7 @@ extern "C" { #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))