aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/tg_owt/files/patch-src_rtc__base_system_arch.h
blob: 267fb4d0e18da07ad5f704ee10f168a900139f5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/rtc_base/system/arch.h.orig	2022-02-09 19:21:53 UTC
+++ src/rtc_base/system/arch.h
@@ -46,6 +46,13 @@
 #endif
 #if defined(__MIPSEL__)
 #define WEBRTC_ARCH_LITTLE_ENDIAN
+#elif defined(__powerpc64__)
+#define WEBRTC_ARCH_64_BITS
+#if defined(__BIG_ENDIAN__)
+#define WEBRTC_ARCH_BIG_ENDIAN
+#else
+#define WEBRTC_ARCH_LITTLE_ENDIAN
+#endif
 #else
 #define WEBRTC_ARCH_BIG_ENDIAN
 #endif