]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: domaincapstest: Fix build on mingw
authorCole Robinson <crobinso@redhat.com>
Mon, 18 Mar 2019 16:40:03 +0000 (12:40 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 18 Mar 2019 16:40:03 +0000 (12:40 -0400)
fillStringValues is only used if WITH_QEMU || WITH_BHYVE

Signed-off-by: Cole Robinson <crobinso@redhat.com>
tests/domaincapstest.c

index 1aa8c023a2f6d25e37d759f3fc78ba54a08dd27a..2cccfbc8e25e69401becc2f513d347ca8d29fb22 100644 (file)
@@ -24,6 +24,7 @@
 
 #define VIR_FROM_THIS VIR_FROM_NONE
 
+#if WITH_QEMU || WITH_BHYVE
 static int ATTRIBUTE_SENTINEL
 fillStringValues(virDomainCapsStringValuesPtr values, ...)
 {
@@ -44,6 +45,7 @@ fillStringValues(virDomainCapsStringValuesPtr values, ...)
 
     return ret;
 }
+#endif /* WITH_QEMU || WITH_BHYVE */
 
 #if WITH_QEMU
 # include "testutilsqemu.h"