Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: net/http/http_auth_handler_ntlm_portable.cc

Issue 10752020: [MIPS] Set endianness for MIPS architecture in http_auth_handler_ntlm_portable. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698