Skip to content

Commit

Permalink
Merge pull request #92721 from aaronfranke/3.x-rv-warn-sysv-abi
Browse files Browse the repository at this point in the history
[3.x] GDNative: Fix Linux riscv warning about ignored `sysv_abi`
  • Loading branch information
lawnjelly authored Jun 3, 2024
2 parents ab6395d + 945a490 commit b203829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gdnative/include/gdnative/gdnative.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit b203829

Please sign in to comment.