mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
Compilation fixes for MinGW
This commit is contained in:
+6
-1
@@ -270,7 +270,7 @@ static int testCompareDomstateByName(const void *data ATTRIBUTE_UNUSED) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifndef WIN32
|
||||
static int
|
||||
mymain(int argc, char **argv)
|
||||
{
|
||||
@@ -358,5 +358,10 @@ mymain(int argc, char **argv)
|
||||
|
||||
return(ret==0 ? EXIT_SUCCESS : EXIT_FAILURE);
|
||||
}
|
||||
#else /* ! WIN32 */
|
||||
|
||||
static int mymain (void) { exit (77); /* means 'test skipped' for automake */ }
|
||||
|
||||
#endif /* WIN32 */
|
||||
|
||||
VIRT_TEST_MAIN(mymain)
|
||||
|
||||
Reference in New Issue
Block a user