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

Unified Diff: src/include/portability.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: 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
Index: src/include/portability.h
diff --git a/src/include/portability.h b/src/include/portability.h
index 97a35b4963b199f53d7cf4e042ccbf2befe5d410..bf0af8397c0cd4f31a464f0f55734c8071df8f1c 100644
--- a/src/include/portability.h
+++ b/src/include/portability.h
@@ -107,6 +107,12 @@ struct timezone {
#define NACL_ARCH_CPU_32_BITS 1
#define NACL_HOST_WORDSIZE 32
#define NACL_WCHAR_T_IS_UNSIGNED 1
+#elif defined(__mips__)
+#define NACL_ARCH_CPU_MIPS_FAMILY 1
+#define NACL_ARCH_CPU_MIPS32 1
+#define NACL_ARCH_CPU_32_BITS 1
+#define NACL_HOST_WORDSIZE 32
+#define NACL_WCHAR_T_IS_UNSIGNED 0
#elif defined(__pnacl__)
#define NACL_HOST_WORDSIZE 32
#else

Powered by Google App Engine
This is Rietveld 408576698