mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
Merge pull request #10199 from akallabeth/json-c-compat
[winpr,utils] add json-c compat
This commit is contained in:
@@ -39,6 +39,17 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(WITH_JSONC)
|
||||
#if JSON_C_MAJOR_VERSION == 0
|
||||
#if JSON_C_MINOR_VERSION < 14
|
||||
static struct json_object* json_object_new_null(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(USE_CJSON_COMPAT)
|
||||
static double cJSON_GetNumberValue(const cJSON* const prop)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user