blob: b28bf070e23cfe819abd581e930f14a3a8146624 (
plain) (
tree)
|
|
--- third_party/ipcz/src/standalone/base/logging.cc.orig 2025-03-05 08:14:56 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() << ":";
|