[3.x] GDNative: Fix Linux riscv warning about ignored sysv_abi

This commit is contained in:
Aaron Franke 2024-06-03 04:22:47 -07:00
parent ab6395da40
commit 945a49064f
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF

View file

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