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:
commit
b203829361
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else // Linux/BSD/Web
|
#else // Linux/BSD/Web
|
||||||
#if defined(__aarch64__) || defined(__arm__)
|
#if defined(__aarch64__) || defined(__arm__) || defined(__riscv)
|
||||||
#define GDCALLINGCONV
|
#define GDCALLINGCONV
|
||||||
#else
|
#else
|
||||||
#define GDCALLINGCONV __attribute__((sysv_abi))
|
#define GDCALLINGCONV __attribute__((sysv_abi))
|
||||||
|
|
Loading…
Reference in a new issue