summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 19:03:20 +0000
committersehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 19:03:20 +0000
commit814127cb0ef1687e792519a44bfb71580e922e5b (patch)
treed55e56c51ceff1c20851e430841c411f604111b7 /build
parentd1bae5cbeb782c5c115a12d5e2c3e236efc26856 (diff)
downloadchromium_src-814127cb0ef1687e792519a44bfb71580e922e5b.zip
chromium_src-814127cb0ef1687e792519a44bfb71580e922e5b.tar.gz
chromium_src-814127cb0ef1687e792519a44bfb71580e922e5b.tar.bz2
Allow __pnacl__ target to build code included from Chrome.
Committing for pdox@google.com. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/7744034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98461 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/build_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h
index ce5ac6a..5c09d45 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -110,6 +110,8 @@
#define ARCH_CPU_32_BITS 1
#define ARCH_CPU_LITTLE_ENDIAN 1
#define WCHAR_T_IS_UNSIGNED 1
+#elif defined(__pnacl__)
+#define ARCH_CPU_32_BITS 1
#else
#error Please add support for your architecture in build/build_config.h
#endif