1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

Support riscv, starfive CPU.

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
Steven Liu 2022-07-16 16:47:00 +08:00
parent 588d6d510e
commit ec7123d54c

View file

@ -58,8 +58,8 @@
(void)0
// Check CPU for ST(state-threads), please read https://github.com/ossrs/state-threads/issues/22
#if !defined(__amd64__) && !defined(__x86_64__) && !defined(__i386__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__mips__) && !defined(__loongarch__)
#error "Only support i386/amd64/x86_64/arm/aarch64/mips/loongarch cpu"
#if !defined(__amd64__) && !defined(__x86_64__) && !defined(__i386__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__mips__) && !defined(__loongarch__) && !defined(__riscv)
#error "Only support i386/amd64/x86_64/arm/aarch64/mips/loongarch/riscv cpu"
#endif
// Error predefined for all modules.