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