Compilation fixes for MinGW

This commit is contained in:
Atsushi SAKAI
2008-06-26 09:37:51 +00:00
parent 9c593643ff
commit fbb5d771a0
11 changed files with 53 additions and 6 deletions
+6 -1
View File
@@ -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)