aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-third__party_ipcz_src_standalone_base_logging.cc
blob: f59ae940dc5c41cbfc28ee9a8fcc20f5b2ff4cee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- third_party/ipcz/src/standalone/base/logging.cc.orig	2025-03-24 20:50:14 UTC
+++ third_party/ipcz/src/standalone/base/logging.cc
@@ -55,6 +55,9 @@ LogMessage::LogMessage(const char* file, int line, Lev
 #elif BUILDFLAG(IS_ANDROID)
   stream_ << getpid() << ":" << gettid() << ":";
   const char* trimmed_file = strrchr(file, '/') + 1;
+#elif BUILDFLAG(IS_BSD)
+  stream_ << getpid() << ":" << pthread_self() << ":";
+  const char* trimmed_file = strrchr(file, '/') + 1;
 #elif BUILDFLAG(IS_WIN)
   const char* trimmed_file = file;
   stream_ << (::GetCurrentProcessId()) << ":" << ::GetCurrentThreadId() << ":";