summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorpetarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-22 18:21:26 +0000
committerpetarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-22 18:22:33 +0000
commit61dd4c07c4e02618e211826766b3517735a22011 (patch)
treec156ed09ab651deb05386b613d42f4a4b7d168e4 /sandbox
parentaeeedad4f8d90b2af1b2299b70ed35cd4877af64 (diff)
downloadchromium_src-61dd4c07c4e02618e211826766b3517735a22011.zip
chromium_src-61dd4c07c4e02618e211826766b3517735a22011.tar.gz
chromium_src-61dd4c07c4e02618e211826766b3517735a22011.tar.bz2
[MIPS] Fix build issue for MIPS
Use double underscore in the preprocessor symbol. Fixes build breakage caused by r291315. Review URL: https://codereview.chromium.org/495333003 Cr-Commit-Position: refs/heads/master@{#291452} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291452 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
index d3b9807..1adc465 100644
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
@@ -929,7 +929,7 @@ bool SyscallSets::IsExtendedAttributes(int sysno) {
// TODO(jln): classify this better.
bool SyscallSets::IsMisc(int sysno) {
switch (sysno) {
-#if !defined(_mips_)
+#if !defined(__mips__)
case __NR_getrandom:
#endif
case __NR_name_to_handle_at: