Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc

Issue 495333003: [MIPS] Fix build issue for MIPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
index d3b9807c87c45c2becdb7f72dfca7bba8bdd95a6..1adc465ff78c88dafee43d42444c25717178698e 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:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698