summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-ipc_ipc__channel__mojo.cc
blob: bc05846fe751f0ff1a095e2965b8a9104b25f706 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ipc/ipc_channel_mojo.cc.orig	2019-03-15 06:37:27 UTC
+++ ipc/ipc_channel_mojo.cc
@@ -64,7 +64,7 @@ class MojoChannelFactory : public ChannelFactory {
 };
 
 base::ProcessId GetSelfPID() {
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   if (int global_pid = Channel::GetGlobalPid())
     return global_pid;
 #endif  // OS_LINUX