18 lines
539 B
Diff
18 lines
539 B
Diff
Index: webrtc/typedefs.h
|
|
===================================================================
|
|
--- webrtc/typedefs.h.org
|
|
+++ webrtc/typedefs.h
|
|
@@ -47,6 +47,12 @@
|
|
#elif defined(__pnacl__)
|
|
#define WEBRTC_ARCH_32_BITS
|
|
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
|
+#elif defined(__powerpc64__)
|
|
+#define WEBRTC_ARCH_BIG_ENDIAN
|
|
+#define WEBRTC_ARCH_64_BITS
|
|
+#elif defined(__powerpc__)
|
|
+#define WEBRTC_ARCH_BIG_ENDIAN
|
|
+#define WEBRTC_ARCH_32_BITS
|
|
#else
|
|
/* instead of failing, use typical unix defines... */
|
|
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|