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 |