From 3ed61ca4002ccc78697698a39116bd092e51d163 Mon Sep 17 00:00:00 2001 From: xuyong Date: Fri, 2 Aug 2024 12:16:43 +0800 Subject: [PATCH] Enable feature about supporting data of int64_t type Signed-off-by: xuyong --- BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 0699a60..c78d31a 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") { sources = [ "cJSON.c" ] -- Gitee