From 43707232a9de5e29f596347ec22a0edcf7c240e0 Mon Sep 17 00:00:00 2001 From: wangdengjia Date: Mon, 24 Jan 2022 11:10:07 +0800 Subject: [PATCH] IssueNo:#I4RYLS Description:Solve compile alarm Sig:appexecfwk Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: wangdengjia Change-Id: I5ad56da9fd26c18a7d85dc6ca5105396296b1563 --- services/bundlemgr_lite/src/bundle_ms_feature.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/bundlemgr_lite/src/bundle_ms_feature.cpp b/services/bundlemgr_lite/src/bundle_ms_feature.cpp index 15af6c1..66148ca 100755 --- a/services/bundlemgr_lite/src/bundle_ms_feature.cpp +++ b/services/bundlemgr_lite/src/bundle_ms_feature.cpp @@ -33,7 +33,9 @@ #include "want_utils.h" namespace OHOS { +#ifdef __LINUX__ constexpr static uint32_t MAX_IPC_STRING_LENGTH = 8192UL; +#endif static BmsImpl g_bmsImpl = { SERVER_IPROXY_IMPL_BEGIN, .Invoke = BundleMsFeature::Invoke,