--- src/3rdparty/chromium/base/syslog_logging.cc.orig 2019-11-27 21:12:25 UTC +++ src/3rdparty/chromium/base/syslog_logging.cc @@ -11,7 +11,7 @@ #include "base/callback_helpers.h" #include "base/debug/stack_trace.h" #include "base/win/win_util.h" -#elif defined(OS_LINUX) +#elif defined(OS_LINUX) || defined(OS_BSD) // defines LOG_INFO, LOG_WARNING macros that could conflict with // base::LOG_INFO, base::LOG_WARNING. #include @@ -110,7 +110,7 @@ EventLogMessage::~EventLogMessage() { if (user_sid != nullptr) ::LocalFree(user_sid); -#elif defined(OS_LINUX) +#elif defined(OS_LINUX) || defined(OS_BSD) const char kEventSource[] = "chrome"; openlog(kEventSource, LOG_NOWAIT | LOG_PID, LOG_USER); // We can't use the defined names for the logging severity from syslog.h