提交 639d6e70 编写于 作者: P Peter Krempa

tests: domaincaps: Fix build when WITH_QEMU is disabled

doTestQemuInternal and doTestQemu are used only when WITH_QEMU is
enabled.
Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
上级 6a077cf2
......@@ -266,6 +266,9 @@ test_virDomainCapsFormat(const void *opaque)
return ret;
}
#if WITH_QEMU
static int
doTestQemuInternal(const char *version,
const char *machine,
......@@ -349,6 +352,8 @@ doTestQemu(const char *inputDir G_GNUC_UNUSED,
return 0;
}
#endif
static int
mymain(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册