Make sure virtTestCaptureProgramOutput has a body on Windows

Now the virsh tests compile at least.
This commit is contained in:
Matthias Bolte 2010-03-17 00:36:07 +01:00
parent 190aaa2627
commit 3528d66641

View 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 */