提交 6f443fb5 编写于 作者: J jiadexiang 提交者: Chris_P927

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>
上级 57a34c30
......@@ -17,6 +17,7 @@ if (defined(ohos_lite)) {
config("cjson_config") {
include_dirs = [ "." ]
ldflags = [ "-lm" ]
defines = [ "CJSON_NESTING_LIMIT=(128)" ]
}
cjson_sources = [
"cJSON.c",
......@@ -46,6 +47,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.
先完成此消息的编辑!
想要评论请 注册