Browse Source

Merge pull request #88367 from Faless/gdnative/arm_sysv_abi_warnings

[3.x] GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute
lawnjelly 1 year ago
parent
commit
6e0468d452
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/gdnative/include/gdnative/gdnative.h

+ 1 - 1
modules/gdnative/include/gdnative/gdnative.h

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