mirror of https://gitee.com/openkylin/libvirt.git
Revert "util: jsoncompat: Stub out virJSONInitialize when compiling without jansson"
This reverts commit 9e44c2db8a
.
Jansson cannot parse QEMU's quirky JSON.
Revert back to yajl.
https://bugzilla.redhat.com/show_bug.cgi?id=1614569
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
9ed59012d3
commit
54f2b5e330
|
@ -271,15 +271,4 @@ json_true_impl(void)
|
|||
return json_true_ptr();
|
||||
}
|
||||
|
||||
|
||||
#else /* !WITH_JANSSON */
|
||||
|
||||
|
||||
int
|
||||
virJSONInitialize(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
#endif /* !WITH_JANSSON */
|
||||
#endif /* WITH_JANSSON */
|
||||
|
|
Loading…
Reference in New Issue