pkgsrc-wip/chromium/patches/patch-base_process_kill.h

14 lines
491 B
C

$NetBSD$
--- base/process/kill.h.orig 2020-06-25 09:31:18.000000000 +0000
+++ base/process/kill.h
@@ -118,7 +118,7 @@ BASE_EXPORT TerminationStatus GetTermina
BASE_EXPORT TerminationStatus GetKnownDeadTerminationStatus(
ProcessHandle handle, int* exit_code);
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
// Spawns a thread to wait asynchronously for the child |process| to exit
// and then reaps it.
BASE_EXPORT void EnsureProcessGetsReaped(Process process);