summaryrefslogtreecommitdiff
path: root/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch
blob: ae24dde38cf9ac8399954478b9741261cda699f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- libilbc-2.0.2/typedefs.h
+++ libilbc-2.0.2/typedefs.h
@@ -47,6 +47,13 @@
 #elif defined(__pnacl__)
 #define WEBRTC_ARCH_32_BITS
 #define WEBRTC_ARCH_LITTLE_ENDIAN
+#elif defined(__PPC__)
+#define WEBRTC_ARCH_BIG_ENDIAN
+#if defined(__PPC64__)
+#define WEBRTC_ARCH_64_BITS
+#else
+#define WEBRTC_ARCH_32_BITS
+#endif
 #else
 #error Please add support for your architecture in typedefs.h
 #endif