Index: net/http/http_auth_handler_ntlm_portable.cc |
diff --git a/net/http/http_auth_handler_ntlm_portable.cc b/net/http/http_auth_handler_ntlm_portable.cc |
index d5febb68d30d98f9475d1bfbf428069a88393d51..4a96f821f6df8ab30c9377dcb45407cd058c1d00 100644 |
--- a/net/http/http_auth_handler_ntlm_portable.cc |
+++ b/net/http/http_auth_handler_ntlm_portable.cc |
@@ -71,9 +71,12 @@ namespace net { |
* ***** END LICENSE BLOCK ***** */ |
// Discover the endianness by testing processor architecture. |
-#if defined(ARCH_CPU_X86) || defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARMEL) |
+#if defined(ARCH_CPU_X86) || defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARMEL) || defined(ARCH_CPU_MIPSEL) |
Ryan Hamilton
2012/07/10 16:59:46
nit: is it possible to avoid the long line here?
|
#define IS_LITTLE_ENDIAN 1 |
#undef IS_BIG_ENDIAN |
+#elif defined(ARCH_CPU_MIPSEB) |
+#define IS_BIG_ENDIAN 1 |
+#undef IS_LITTLE_ENDIAN |
#else |
#error "Unknown endianness" |
#endif |