--- media/webrtc/trunk/src/typedefs.h.orig 2012-12-26 12:41:40.000000000 -0800 +++ media/webrtc/trunk/src/typedefs.h.orig 2012-12-26 12:45:11.000000000 -0800 @@ -48,6 +48,55 @@ #define WEBRTC_ARCH_32_BITS #define WEBRTC_ARCH_LITTLE_ENDIAN #define WEBRTC_LITTLE_ENDIAN +#elif defined(__powerpc64__) +#define WEBRTC_ARCH_PPC64 1 +#define WEBRTC_ARCH_64_BITS 1 +#define WEBRTC_ARCH_BIG_ENDIAN +#define WEBRTC_BIG_ENDIAN +#elif defined(__ppc__) || defined(__powerpc__) +#define WEBRTC_ARCH_PPC 1 +#define WEBRTC_ARCH_32_BITS 1 +#define WEBRTC_ARCH_BIG_ENDIAN +#define WEBRTC_BIG_ENDIAN +#elif defined(__sparc64__) +#define WEBRTC_ARCH_SPARC 1 +#define WEBRTC_ARCH_64_BITS 1 +#define WEBRTC_ARCH_BIG_ENDIAN +#define WEBRTC_BIG_ENDIAN +#elif defined(__sparc__) +#define WEBRTC_ARCH_SPARC 1 +#define WEBRTC_ARCH_32_BITS 1 +#define WEBRTC_ARCH_BIG_ENDIAN +#define WEBRTC_BIG_ENDIAN +#elif defined(__mips__) +#define WEBRTC_ARCH_MIPS 1 +#if defined(_ABI64) && _MIPS_SIM == _ABI64 +#define WEBRTC_ARCH_64_BITS 1 +#else +#define WEBRTC_ARCH_32_BITS 1 +#endif +#if defined(__MIPSEB__) +#define WEBRTC_ARCH_BIG_ENDIAN +#define WEBRTC_BIG_ENDIAN +#else +#define WEBRTC_ARCH_LITTLE_ENDIAN +#define WEBRTC_LITTLE_ENDIAN +#endif +#elif defined(__hppa__) +#define WEBRTC_ARCH_HPPA 1 +#define WEBRTC_ARCH_32_BITS 1 +#define WEBRTC_ARCH_BIG_ENDIAN +#define WEBRTC_BIG_ENDIAN +#elif defined(__ia64__) +#define WEBRTC_ARCH_IA64 1 +#define WEBRTC_ARCH_64_BITS 1 +#define WEBRTC_ARCH_LITTLE_ENDIAN +#define WEBRTC_LITTLE_ENDIAN +#elif defined(__s390x__) +#define WEBRTC_ARCH_S390X 1 +#define WEBRTC_ARCH_64_BITS 1 +#define WEBRTC_ARCH_BIG_ENDIAN +#define WEBRTC_BIG_ENDIAN #else #error Please add support for your architecture in typedefs.h #endif