Merge pull request #92721 from aaronfranke/3.x-rv-warn-sysv-abi

[3.x] GDNative: Fix Linux riscv warning about ignored `sysv_abi`
This commit is contained in:
lawnjelly
2024-06-03 20:53:19 +01:00
committed by GitHub

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