Also use __riscv to detect builds for RISC-V CPUs.
According to the RISC-V toolchain conventions, __riscv__ is the old spelling of this definition. __riscv should be used going forward. https://github.com/riscv/riscv-toolchain-conventions#cc-preprocessor-definitions
This commit is contained in:
parent
955b1d9cc5
commit
749caf14ae
@ -94,7 +94,7 @@ typedef int malloc_cpuid_t;
|
|||||||
# ifdef __powerpc__
|
# ifdef __powerpc__
|
||||||
# define LG_QUANTUM 4
|
# define LG_QUANTUM 4
|
||||||
# endif
|
# endif
|
||||||
# ifdef __riscv__
|
# if defined(__riscv) || defined(__riscv__)
|
||||||
# define LG_QUANTUM 4
|
# define LG_QUANTUM 4
|
||||||
# endif
|
# endif
|
||||||
# ifdef __s390__
|
# ifdef __s390__
|
||||||
|
Loading…
Reference in New Issue
Block a user