opnsense-ports/devel/electron27/files/patch-base_process_kill.h
Franco Fichtner f253cd830b */*: sync with upstream
Taken from: FreeBSD
2023-12-11 11:32:56 +01:00

11 lines
541 B
C

--- base/process/kill.h.orig 2022-05-19 14:06:27 UTC
+++ base/process/kill.h
@@ -113,7 +113,7 @@ BASE_EXPORT TerminationStatus GetTerminationStatus(Pro
BASE_EXPORT TerminationStatus GetKnownDeadTerminationStatus(
ProcessHandle handle, int* exit_code);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Spawns a thread to wait asynchronously for the child |process| to exit
// and then reaps it.
BASE_EXPORT void EnsureProcessGetsReaped(Process process);