From f21b853800fbde8fb3cef6387745d7a96762ecc7 Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Sat, 6 Jan 2024 15:03:18 +0100 Subject: [PATCH] fix: do not export g_logging_fail_func --- src/logging.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logging.cc b/src/logging.cc index 1fe0457c3..3ad3cf2ad 100644 --- a/src/logging.cc +++ b/src/logging.cc @@ -1880,7 +1880,7 @@ void LogMessage::RecordCrashReason( #endif } -GLOG_EXPORT logging_fail_func_t g_logging_fail_func = +GLOG_NO_EXPORT logging_fail_func_t g_logging_fail_func = reinterpret_cast(&abort); NullStream::NullStream() : LogMessage::LogStream(message_buffer_, 2, 0) {}