Index: src/base/build_config.h |
diff --git a/src/base/build_config.h b/src/base/build_config.h |
index b8ba4eb8d2c5a406c6355113c378dce8280bdaa7..8016218e5cc1ee5233b14c08de11317c34fa37fc 100644 |
--- a/src/base/build_config.h |
+++ b/src/base/build_config.h |
@@ -164,7 +164,11 @@ |
#define V8_TARGET_LITTLE_ENDIAN 1 |
#endif |
#elif V8_TARGET_ARCH_MIPS64 |
+#if defined(__MIPSEB__) || defined(V8_TARGET_ARCH_MIPS64_BE) |
+#define V8_TARGET_BIG_ENDIAN 1 |
+#else |
#define V8_TARGET_LITTLE_ENDIAN 1 |
+#endif |
#elif V8_TARGET_ARCH_X87 |
#define V8_TARGET_LITTLE_ENDIAN 1 |
#elif V8_TARGET_ARCH_PPC_LE |