Skip to content

Commit

Permalink
greenhills: fix macro undefined warning
Browse files Browse the repository at this point in the history
AS:  modlib/modlib_globals.S "modlib/modlib_globals.S", line 38: warning #193-D: zero used for undefined
          preprocessing identifier "__SIZEOF_POINTER__"
  #if __SIZEOF_POINTER__ == 8
      ^

Signed-off-by: guoshichao <[email protected]>
  • Loading branch information
guoshichao authored and xiaoxiang781216 committed Aug 24, 2024
1 parent a9e2942 commit 04f5aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/libc/modlib/modlib_globals.S
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
.endm
#endif

#if __SIZEOF_POINTER__ == 8
#if defined(__SIZEOF_POINTER__ ) && __SIZEOF_POINTER__ == 8
.macro globalEntry index, ep
.quad .l\index
.quad \ep
Expand Down

0 comments on commit 04f5aae

Please sign in to comment.