[PATCH] tests: domaincapstest: Fix build on mingw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fillStringValues is only used if WITH_QEMU || WITH_BHYVE

Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
---
Pushed under build break rule

 tests/domaincapstest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c
index 1aa8c023a2..2cccfbc8e2 100644
--- a/tests/domaincapstest.c
+++ b/tests/domaincapstest.c
@@ -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"
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux