[3.x] GDNative: Fix Linux riscv warning about ignored sysv_abi
This commit is contained in:
parent
ab6395da40
commit
945a49064f
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