GDNative: Fix Linux riscv warning about ignored sysv_abi

This commit is contained in:
Aaron Franke 2024-06-03 04:22:47 -07:00 committed by Relintai
parent 84864fbe35
commit f7490335a4

View File

@ -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))