mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix virJSONValueToString prototype for Mingw32
Fix build on platforms lacking YAJL library by adding missing 'bool pretty' parameter to virJSONValueToString.
This commit is contained in:
parent
c7447ab147
commit
f376d24e79
@ -1112,7 +1112,8 @@ virJSONValuePtr virJSONValueFromString(const char *jsonstring ATTRIBUTE_UNUSED)
|
|||||||
_("No JSON parser implementation is available"));
|
_("No JSON parser implementation is available"));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
char *virJSONValueToString(virJSONValuePtr object ATTRIBUTE_UNUSED)
|
char *virJSONValueToString(virJSONValuePtr object ATTRIBUTE_UNUSED,
|
||||||
|
bool pretty ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
||||||
_("No JSON parser implementation is available"));
|
_("No JSON parser implementation is available"));
|
||||||
|
Loading…
Reference in New Issue
Block a user