0bcd21
--- a/media/webrtc/trunk/build/build_config.h
0bcd21
+++ b/media/webrtc/trunk/build/build_config.h
0bcd21
@@ -123,7 +123,9 @@
0bcd21
 #define ARCH_CPU_PPC_FAMILY 1
0bcd21
 #define ARCH_CPU_PPC64 1
0bcd21
 #define ARCH_CPU_64_BITS 1
0bcd21
+#ifndef _LITTLE_ENDIAN
0bcd21
 #define ARCH_CPU_BIG_ENDIAN 1
0bcd21
+#endif
0bcd21
 #elif defined(__ppc__) || defined(__powerpc__)
0bcd21
 #define ARCH_CPU_PPC_FAMILY 1
0bcd21
 #define ARCH_CPU_PPC 1
0bcd21
@@ -156,6 +158,9 @@
0bcd21
 #elif defined(__alpha__)
0bcd21
 #define ARCH_CPU_ALPHA 1
0bcd21
 #define ARCH_CPU_64_BITS 1
0bcd21
+#elif defined(__aarch64__)
0bcd21
+#define ARCH_CPU_AARCH64 1
0bcd21
+#define ARCH_CPU_64_BITS 1
0bcd21
 #else
0bcd21
 #error Please add support for your architecture in build/build_config.h
0bcd21
 #endif