diff --git a/BUILD.gn b/BUILD.gn index e61b60a0fe1b2c72d756a4746e2a7c6dc00ce22b..59357a9c887781d5abea5217c4571082b00f35e3 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -42,7 +42,10 @@ if (defined(ohos_lite)) { import("//build/ohos.gni") config("cJSON_config") { include_dirs = [ "//third_party/cJSON" ] - defines = [ "CJSON_NESTING_LIMIT=(128)" ] + defines = [ + "CJSON_NESTING_LIMIT=(128)", + "ENABLE_INT64", + ] } ohos_static_library("cjson_static") { branch_protector_ret = "pac_ret"