Index: webrtc/typedefs.h =================================================================== --- a/webrtc/rtc_base/system/arch.h.orig +++ b/webrtc/rtc_base/system/arch.h @@ -57,6 +57,15 @@ # #elif defined(__pnacl__) # #define WEBRTC_ARCH_32_BITS # #define WEBRTC_ARCH_LITTLE_ENDIAN #elif defined(__EMSCRIPTEN__) #define WEBRTC_ARCH_32_BITS #define WEBRTC_ARCH_LITTLE_ENDIAN +#elif defined(__powerpc64__) && defined(__LITTLE_ENDIAN__) +#define WEBRTC_ARCH_LITTLE_ENDIAN +#define WEBRTC_ARCH_64_BITS +#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 #error Please add support for your architecture in rtc_base/system/arch.h #endif # #else # /* instead of failing, use typical unix defines... */ # #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__