From 1ef1ab37e74fdef4512e239d6d39f23a7ff64f50 Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Sat, 6 Jan 2024 16:58:51 +0100 Subject: [PATCH] fix: do not export g_logging_fail_func (#1042) --- src/logging.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logging.cc b/src/logging.cc index 8fc5bd937..5a92db846 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) {}