1 diff --git a/webrtc/typedefs.h b/webrtc/typedefs.h
2 index d875490..ce1f3e8 100644
3 --- a/webrtc/typedefs.h
4 +++ b/webrtc/typedefs.h
6 #elif defined(__aarch64__)
7 #define WEBRTC_ARCH_64_BITS
8 #define WEBRTC_ARCH_LITTLE_ENDIAN
9 +#elif defined(__riscv) || defined(__riscv__)
10 +#define WEBRTC_ARCH_LITTLE_ENDIAN
11 +#if __riscv_xlen == 64
12 +#define WEBRTC_ARCH_64_BITS
14 +#define WEBRTC_ARCH_32_BITS
16 #elif defined(_M_IX86) || defined(__i386__)
17 #define WEBRTC_ARCH_X86_FAMILY
18 #define WEBRTC_ARCH_X86