提交 9e44c2db 编写于 作者: P Peter Krempa

util: jsoncompat: Stub out virJSONInitialize when compiling without jansson

Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
上级 397447f8
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册