未验证 提交 4507570f 编写于 作者: O openharmony_ci 提交者: Gitee

!1095 fix 解决编译问题

Merge pull request !1095 from Mupceet/buildmax
......@@ -26,7 +26,6 @@ extern "C" {
#define PARAM_VALUE_LEN_MAX 96
#define PARAM_NAME_LEN_MAX 96
#define OS_FULL_NAME_LEN 128
#define MAX_VALUE_LEN 128
#define VERSION_ID_MAX_LEN 256
static const char EMPTY_STR[] = { "" };
......
......@@ -29,6 +29,7 @@
namespace OHOS {
namespace system {
static constexpr int MAX_VALUE_LEN = 128;
bool SetParameter(const std::string& key, const std::string& value)
{
int ret = SystemSetParameter(key.c_str(), value.c_str());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册