]> xenbits.xensource.com Git - libvirt.git/commitdiff
Make sure virtTestCaptureProgramOutput has a body on Windows
authorMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 16 Mar 2010 23:36:07 +0000 (00:36 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 23 Mar 2010 01:08:14 +0000 (02:08 +0100)
Now the virsh tests compile at least.

tests/testutils.c

index 87646736537fadfd0ce6a950eb0d654361220f87..4f17e5176fbcbf39b2a0dd2e19e510da2409f337 100644 (file)
@@ -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 */