greenhills: fix macro undefined warning

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 <guoshichao@xiaomi.com>
This commit is contained in:
guoshichao 2024-08-02 11:58:25 +08:00 committed by Xiang Xiao
parent a9e2942d8f
commit 04f5aaebfa

View file

@ -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