mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
28 lines
770 B
Diff
28 lines
770 B
Diff
From 779a79ff3137bdeea9eb16d60e0a22f4a904cd6d Mon Sep 17 00:00:00 2001
|
|
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
|
Date: Tue, 25 Jun 2024 12:44:49 +0000
|
|
Subject: [PATCH] fix build error on loongarch64
|
|
|
|
https://github.com/wiseman/py-webrtcvad/pull/93
|
|
|
|
---
|
|
cbits/webrtc/typedefs.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/cbits/webrtc/typedefs.h b/cbits/webrtc/typedefs.h
|
|
index 51d8992..4982fc6 100644
|
|
--- a/cbits/webrtc/typedefs.h
|
|
+++ b/cbits/webrtc/typedefs.h
|
|
@@ -47,6 +47,9 @@
|
|
#elif defined(__pnacl__)
|
|
#define WEBRTC_ARCH_32_BITS
|
|
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
|
+#elif defined(__loongarch64)
|
|
+#define WEBRTC_ARCH_64_BITS
|
|
+#define WEBRTC_ARCH_LITTLE_ENDIAN
|
|
#else
|
|
#error Please add support for your architecture in typedefs.h
|
|
#endif
|
|
--
|
|
2.45.2
|
|
|