summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 08:37:08 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 08:37:08 +0000
commit19ea84ca4be1f1aa420e9c86007844eeb1586d77 (patch)
treedabadca3b57edc51496203066e2d167c95520f1b /build
parenteda3c3641e9f0a8877aff9d0743d3e582e0cdbd9 (diff)
downloadchromium_src-19ea84ca4be1f1aa420e9c86007844eeb1586d77.zip
chromium_src-19ea84ca4be1f1aa420e9c86007844eeb1586d77.tar.gz
chromium_src-19ea84ca4be1f1aa420e9c86007844eeb1586d77.tar.bz2
Bring up IPC in NaCl.
This patch gets a bunch of the IPC and Base libraries compiling (but not linking) in NaCl. There's obviously a bunch more work to do, but this patch is a starting point. Original patch by Eric Seidel. Review URL: http://codereview.chromium.org/4812002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65920 0039d316-1c4b-4281-b951-d872f2087c98
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