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

Unified Diff: build/build_config.h

Issue 7056026: Implement AES-CTR for NSS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: endian Created 9 years, 6 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 | crypto/crypto.gyp » ('j') | crypto/encryptor.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | crypto/crypto.gyp » ('j') | crypto/encryptor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698