Index: base/process/kill_posix.cc |
diff --git a/base/process/kill_posix.cc b/base/process/kill_posix.cc |
index b02453c358cbe141e2d88945759bed53bbc38173..d17e9907626125849ee97495e4b4cb24a00e257c 100644 |
--- a/base/process/kill_posix.cc |
+++ b/base/process/kill_posix.cc |
@@ -22,7 +22,7 @@ namespace base { |
namespace { |
-#if !defined(__native_client_nonsfi__) |
+#if !defined(OS_NACL_NONSFI) |
bool WaitpidWithTimeout(ProcessHandle handle, |
int* status, |
base::TimeDelta wait) { |
@@ -84,7 +84,7 @@ bool WaitpidWithTimeout(ProcessHandle handle, |
return ret_pid > 0; |
} |
-#endif // !defined(__native_client_nonsfi__) |
+#endif // !defined(OS_NACL_NONSFI) |
TerminationStatus GetTerminationStatusImpl(ProcessHandle handle, |
bool can_block, |
@@ -132,7 +132,7 @@ TerminationStatus GetTerminationStatusImpl(ProcessHandle handle, |
} // namespace |
-#if !defined(__native_client_nonsfi__) |
+#if !defined(OS_NACL_NONSFI) |
// Attempts to kill the process identified by the given process |
// entry structure. Ignores specified exit_code; posix can't force that. |
// Returns true if this is successful, false otherwise. |
@@ -194,7 +194,7 @@ bool KillProcessGroup(ProcessHandle process_group_id) { |
DPLOG(ERROR) << "Unable to terminate process group " << process_group_id; |
return result; |
} |
-#endif // !defined(__native_client_nonsfi__) |
+#endif // !defined(OS_NACL_NONSFI) |
TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { |
return GetTerminationStatusImpl(handle, false /* can_block */, exit_code); |
@@ -210,7 +210,7 @@ TerminationStatus GetKnownDeadTerminationStatus(ProcessHandle handle, |
return GetTerminationStatusImpl(handle, true /* can_block */, exit_code); |
} |
-#if !defined(__native_client_nonsfi__) |
+#if !defined(OS_NACL_NONSFI) |
bool WaitForExitCode(ProcessHandle handle, int* exit_code) { |
int status; |
if (HANDLE_EINTR(waitpid(handle, &status, 0)) == -1) { |
@@ -483,6 +483,6 @@ void EnsureProcessGetsReaped(ProcessHandle process) { |
} |
#endif // !defined(OS_MACOSX) |
-#endif // !defined(__native_client_nonsfi__) |
+#endif // !defined(OS_NACL_NONSFI) |
} // namespace base |