From 89ed339cd7329a3cb9df43fdb0cc353c61b9a716 Mon Sep 17 00:00:00 2001 From: sunshipan Date: Thu, 18 Apr 2024 21:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BE=9D=E8=B5=96=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sunshipan --- frameworks/libhilog/base/hilog_base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frameworks/libhilog/base/hilog_base.c b/frameworks/libhilog/base/hilog_base.c index 7e344f6..fdabec4 100644 --- a/frameworks/libhilog/base/hilog_base.c +++ b/frameworks/libhilog/base/hilog_base.c @@ -24,6 +24,7 @@ #include #include #include +#define _GNU_SOURCE #include #define LOG_LEN 3 @@ -118,4 +119,4 @@ bool HiLogBaseIsLoggable(unsigned int domain, const char *tag, LogLevel level) return false; } return true; -} \ No newline at end of file +} -- Gitee