Index: build/build_config.h |
diff --git a/build/build_config.h b/build/build_config.h |
index 0bfccd761709d24aadc63f73f2b4f0d675747b22..5e1bc25f15cb5ab951b0b4780a2223c98e319ef9 100644 |
--- a/build/build_config.h |
+++ b/build/build_config.h |
@@ -108,6 +108,14 @@ |
#error Please add support for your architecture in build/build_config.h |
#endif |
+#if defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_X86) || \ |
+ defined(ARCH_CPU_ARMEL) |
+#define ARCH_CPU_LITTLE_ENDIAN 1 |
+#else |
+#error Please add your architecture and define either \ |
+ARCH_CPU_LITTLE_ENDIAN or ARCH_CPU_BIG_ENDIAN |
+#endif |
+ |
// Type detection for wchar_t. |
#if defined(OS_WIN) |
#define WCHAR_T_IS_UTF16 |