GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute

This commit is contained in:
Fabio Alessandrelli 2024-02-15 14:30:03 +01:00 committed by Relintai
parent 487b454506
commit 85146c2646

View File

@ -46,7 +46,7 @@ extern "C" {
#define GDCALLINGCONV __attribute__((sysv_abi)) #define GDCALLINGCONV __attribute__((sysv_abi))
#endif #endif
#else // Linux/BSD/Web #else // Linux/BSD/Web
#if defined(__aarch64__) #if defined(__aarch64__) || defined(__arm__)
#define GDCALLINGCONV #define GDCALLINGCONV
#else #else
#define GDCALLINGCONV __attribute__((sysv_abi)) #define GDCALLINGCONV __attribute__((sysv_abi))