mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
[3.x] GDNative: Fix Linux riscv warning about ignored sysv_abi
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user