Skip to content

Commit

Permalink
fix(Defines): also check for _M_RISCV64
Browse files Browse the repository at this point in the history
The patch submitted by Bo in https://bugs.debian.org/1015787 and zyantific#48
also checked for this additional define, but it was not part of
3e95307. This patch adds the
additional check.

Co-authored-by: Bo YU <[email protected]>
  • Loading branch information
Tachi107 and yuzibo committed Oct 4, 2022
1 parent a754e11 commit bc0ad02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Zycore/Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
# define ZYAN_PPC64
#elif defined(__powerpc__)
# define ZYAN_PPC
#elif defined(__riscv) && __riscv_xlen == 64
#elif defined(_M_RISCV64) || defined(__riscv) && __riscv_xlen == 64
# define ZYAN_RISCV64
#else
# error "Unsupported architecture detected"
Expand Down

0 comments on commit bc0ad02

Please sign in to comment.