mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
util: jsoncompat: Stub out virJSONInitialize when compiling without jansson
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
397447f805
commit
9e44c2db8a
@ -271,4 +271,15 @@ json_true_impl(void)
|
||||
return json_true_ptr();
|
||||
}
|
||||
|
||||
#endif /* WITH_JANSSON */
|
||||
|
||||
#else /* !WITH_JANSSON */
|
||||
|
||||
|
||||
int
|
||||
virJSONInitialize(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
#endif /* !WITH_JANSSON */
|
||||
|
Loading…
Reference in New Issue
Block a user