We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f567f38 + 71146f5 commit 92505deCopy full SHA for 92505de
programs/platform.h
@@ -35,6 +35,7 @@
35
|| defined __x86_64__ || defined _M_X64 /* x86 64-bit */ \
36
|| defined __arm64__ || defined __aarch64__ || defined __ARM64_ARCH_8__ /* ARM 64-bit */ \
37
|| (defined __mips && (__mips == 64 || __mips == 4 || __mips == 3)) /* MIPS 64-bit */ \
38
+ || (defined(__riscv) && __riscv_xlen == 64) /* RISC-V 64-bit */ \
39
|| defined _LP64 || defined __LP64__ /* NetBSD, OpenBSD */ || defined __64BIT__ /* AIX */ || defined _ADDR64 /* Cray */ \
40
|| (defined __SIZEOF_POINTER__ && __SIZEOF_POINTER__ == 8) /* gcc */
41
# if !defined(__64BIT__)
0 commit comments