Merge pull request #88367 from Faless/gdnative/arm_sysv_abi_warnings

[3.x] GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute
This commit is contained in:
lawnjelly 2024-02-27 15:01:22 +00:00 committed by GitHub
commit 6e0468d452
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,7 @@ extern "C" {
#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))