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

[libvirt] [PATCH 08/15] Make sure virtTestCaptureProgramOutput has a body on Windows



Now the virsh tests compile at least.
---
 tests/testutils.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tests/testutils.c b/tests/testutils.c
index 8764673..4f17e51 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -280,6 +280,12 @@ int virtTestCaptureProgramOutput(const char *const argv[],
         }
     }
 }
+#else /* !WIN32 */
+int virtTestCaptureProgramOutput(const char *const argv[] ATTRIBUTE_UNUSED,
+                                 char **buf ATTRIBUTE_UNUSED,
+                                 int buflen ATTRIBUTE_UNUSED) {
+    return -1;
+}
 #endif /* !WIN32 */
 
 
-- 
1.6.3.3


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