Commit e47b68df authored by Zhaofeng Li's avatar Zhaofeng Li Committed by Arun Raghavan
Browse files

arch.h: Add RISC-V support

parent e74894ba
...@@ -27,6 +27,13 @@ ...@@ -27,6 +27,13 @@
#define WEBRTC_ARCH_ARM_FAMILY #define WEBRTC_ARCH_ARM_FAMILY
#define WEBRTC_ARCH_64_BITS #define WEBRTC_ARCH_64_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN #define WEBRTC_ARCH_LITTLE_ENDIAN
#elif defined(__riscv) || defined(__riscv__)
#define WEBRTC_ARCH_LITTLE_ENDIAN
#if __riscv_xlen == 64
#define WEBRTC_ARCH_64_BITS
#else
#define WEBRTC_ARCH_32_BITS
#endif
#elif defined(_M_IX86) || defined(__i386__) #elif defined(_M_IX86) || defined(__i386__)
#define WEBRTC_ARCH_X86_FAMILY #define WEBRTC_ARCH_X86_FAMILY
#define WEBRTC_ARCH_X86 #define WEBRTC_ARCH_X86
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment