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,