Index: build/build_config.h |
=================================================================== |
--- build/build_config.h (revision 65551) |
+++ build/build_config.h (working copy) |
@@ -17,6 +17,8 @@ |
// A set of macros to use for platform detection. |
#if defined(__APPLE__) |
#define OS_MACOSX 1 |
+#elif defined(__native_client__) |
+#define OS_NACL 1 |
#elif defined(__linux__) |
#define OS_LINUX 1 |
// Use TOOLKIT_GTK on linux if TOOLKIT_VIEWS isn't defined. |
@@ -60,7 +62,7 @@ |
// For access to standard POSIXish features, use OS_POSIX instead of a |
// more specific macro. |
#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) || \ |
- defined(OS_OPENBSD) || defined(OS_SOLARIS) |
+ defined(OS_OPENBSD) || defined(OS_SOLARIS) || defined(OS_NACL) |
#define OS_POSIX 1 |
// Use base::DataPack for name/value pairs. |
#define USE_BASE_DATA_PACK 1 |