mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Add RISC-V 64-bit architecture detection
This commit is contained in:
parent
a25c1fc96f
commit
71146f5b6d
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@
|
|||
|| defined __x86_64__ || defined _M_X64 /* x86 64-bit */ \
|
||||
|| defined __arm64__ || defined __aarch64__ || defined __ARM64_ARCH_8__ /* ARM 64-bit */ \
|
||||
|| (defined __mips && (__mips == 64 || __mips == 4 || __mips == 3)) /* MIPS 64-bit */ \
|
||||
|| (defined(__riscv) && __riscv_xlen == 64) /* RISC-V 64-bit */ \
|
||||
|| defined _LP64 || defined __LP64__ /* NetBSD, OpenBSD */ || defined __64BIT__ /* AIX */ || defined _ADDR64 /* Cray */ \
|
||||
|| (defined __SIZEOF_POINTER__ && __SIZEOF_POINTER__ == 8) /* gcc */
|
||||
# if !defined(__64BIT__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue