Index: src/base/build_config.h |
diff --git a/src/base/build_config.h b/src/base/build_config.h |
index 2bf57c96338092fb06550e4d4fcf79a11ea19982..f52877657cd83b93b0840c62bf344d1e78fae307 100644 |
--- a/src/base/build_config.h |
+++ b/src/base/build_config.h |
@@ -29,6 +29,10 @@ |
#define V8_HOST_ARCH_64_BIT 1 |
#endif |
#endif // __native_client__ |
+#elif defined(__pnacl__) |
+// PNaCl is also ILP-32. |
+#define V8_HOST_ARCH_IA32 1 |
+#define V8_HOST_ARCH_32_BIT 1 |
#elif defined(_M_IX86) || defined(__i386__) |
#define V8_HOST_ARCH_IA32 1 |
#define V8_HOST_ARCH_32_BIT 1 |