1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

[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

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