提交 076c7bae 编写于 作者: J jiadexiang

Description: add CJSON_NESTING_LIMIT as 128 for stack overflow issue

IssueNo:I5IBWV
Feature or Bugfix: Feature
Binary Source:No
Signed-off-by: Njiadexiang <jiadexiang@huawei.com>
上级 8719ea3b
......@@ -15,6 +15,7 @@ if (defined(ohos_lite)) {
config("cjson_config") {
include_dirs = [ "." ]
ldflags = [ "-lm" ]
defines = [ "CJSON_NESTING_LIMIT=(128)" ]
}
cjson_sources = [
"cJSON.c",
......@@ -41,6 +42,7 @@ if (defined(ohos_lite)) {
import("//build/ohos.gni")
config("cJSON_config") {
include_dirs = [ "." ]
defines = [ "CJSON_NESTING_LIMIT=(128)" ]
}
ohos_static_library("cjson_static") {
sources = [ "cJSON.c" ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册