summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/build_config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/build_config.h b/build/build_config.h
index e2d26cb..3218a05 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -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