From: Matthias Bolte Date: Tue, 16 Mar 2010 23:36:07 +0000 (+0100) Subject: Make sure virtTestCaptureProgramOutput has a body on Windows X-Git-Tag: v0.8.0~243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3528d66641f876e64d92a16e4d853cce91b62e28;p=thirdparty%2Flibvirt.git Make sure virtTestCaptureProgramOutput has a body on Windows Now the virsh tests compile at least. --- diff --git a/tests/testutils.c b/tests/testutils.c index 8764673653..4f17e5176f 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 */