mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
build: fix mingw build with virCommandReorderFDs
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
1e9808d3a1
commit
846edeef52
@ -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:
|
||||
*
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user