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

Unified Diff: src/trusted/service_runtime/include/bits/wordsize.h

Issue 10919162: [MIPS] Implementation of sel_ldr for MIPS architecture. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Rebase (Saturday morning). Created 8 years, 3 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 | « src/trusted/service_runtime/elf_util.c ('k') | src/trusted/service_runtime/linux/mips/sel_segments.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/include/bits/wordsize.h
diff --git a/src/trusted/service_runtime/include/bits/wordsize.h b/src/trusted/service_runtime/include/bits/wordsize.h
index e1a468c4dfb55568127db5b1fa1e7456b787b90b..60b4c983a269661824b529dd63e592b24001665f 100644
--- a/src/trusted/service_runtime/include/bits/wordsize.h
+++ b/src/trusted/service_runtime/include/bits/wordsize.h
@@ -12,12 +12,14 @@
#ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_
#define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_
-#if defined(__powerpc64__) || defined(__s390x__) || defined(__arch64__) || \
- defined(__sparcv9) || defined(__x86_64__) || defined(_AMD64_) || \
- defined(_M_AMD64)
-#define __WORDSIZE 64
-#else
-#define __WORDSIZE 32
+#if !defined(__WORDSIZE)
+# if defined(__powerpc64__) || defined(__s390x__) || defined(__arch64__) || \
+ defined(__sparcv9) || defined(__x86_64__) || defined(_AMD64_) || \
+ defined(_M_AMD64)
+# define __WORDSIZE 64
+# else
+# define __WORDSIZE 32
+# endif
#endif
-#endif
+#endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_BITS_WORDSIZE_H_ */
« no previous file with comments | « src/trusted/service_runtime/elf_util.c ('k') | src/trusted/service_runtime/linux/mips/sel_segments.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698