Browse Source

[3.x] GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute

Fabio Alessandrelli 1 year ago
parent
commit
90b83e77a6
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))