From e01aaf5ce042afb5c3bbfc3da468de5bc19dc42f Mon Sep 17 00:00:00 2001 From: liuyifei Date: Sat, 2 Mar 2024 14:42:13 +0800 Subject: [PATCH] modify sdk compile error Signed-off-by: liuyifei --- frameworks/libhilog/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/libhilog/BUILD.gn b/frameworks/libhilog/BUILD.gn index e3bb1be..3debbc7 100644 --- a/frameworks/libhilog/BUILD.gn +++ b/frameworks/libhilog/BUILD.gn @@ -134,6 +134,8 @@ ohos_source_set("libhilog_base_source") { sources = [ "$libhilog_base_root/hilog_base.c" ] sources += vsnprintf_sources + cflags_cc = [ "-Wno-implicit-function-declaration" ] + defines = [ "__RECV_MSG_WITH_UCRED_", "HILOG_PROHIBIT_ALLOCATION", -- Gitee