build: fix mingw build with virCommandReorderFDs

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2014-08-22 10:28:17 +02:00
parent 1e9808d3a1
commit 846edeef52
2 changed files with 14 additions and 2 deletions

View File

@ -201,6 +201,8 @@ virCommandFDSet(virCommandPtr cmd,
return 0;
}
#ifndef WIN32
static void
virCommandReorderFDs(virCommandPtr cmd)
{
@ -273,8 +275,6 @@ virCommandReorderFDs(virCommandPtr cmd)
return;
}
#ifndef WIN32
/**
* virFork:
*

View File

@ -2397,6 +2397,8 @@ void virUpdateSelfLastChanged(const char *path)
}
}
#ifndef WIN32
/**
* virGetListenFDs:
*
@ -2458,3 +2460,13 @@ virGetListenFDs(void)
return nfds;
}
#else /* WIN32 */
unsigned int
virGetListenFDs(void)
{
return 0;
}
#endif /* WIN32 */