提交 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) ...@@ -266,6 +266,9 @@ test_virDomainCapsFormat(const void *opaque)
return ret; return ret;
} }
#if WITH_QEMU
static int static int
doTestQemuInternal(const char *version, doTestQemuInternal(const char *version,
const char *machine, const char *machine,
...@@ -349,6 +352,8 @@ doTestQemu(const char *inputDir G_GNUC_UNUSED, ...@@ -349,6 +352,8 @@ doTestQemu(const char *inputDir G_GNUC_UNUSED,
return 0; return 0;
} }
#endif
static int static int
mymain(void) mymain(void)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册