mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-16 18:25:08 -06:00
build: update gnulib for pipe on mingw
* .gnulib: Update to latest. * bootstrap.conf (gnulib_modules): Import pipe-posix and waitpid for mingw. * src/remote/remote_driver.c (pipe) [WIN32]: Drop dead macro. * daemon/event.c (pipe) [WIN32]: Drop dead function.
This commit is contained in:
parent
7aaf4e6439
commit
65c0f17acd
2
.gnulib
2
.gnulib
@ -1 +1 @@
|
|||||||
Subproject commit 64911207854610668b480939469282fdaeb96f74
|
Subproject commit 980f9d2ceb43f9d86ea57db0367e569267c8571b
|
@ -48,6 +48,7 @@ mktempd
|
|||||||
netdb
|
netdb
|
||||||
perror
|
perror
|
||||||
physmem
|
physmem
|
||||||
|
pipe-posix
|
||||||
poll
|
poll
|
||||||
posix-shell
|
posix-shell
|
||||||
pthread
|
pthread
|
||||||
@ -76,6 +77,7 @@ usleep
|
|||||||
vasprintf
|
vasprintf
|
||||||
verify
|
verify
|
||||||
vc-list-files
|
vc-list-files
|
||||||
|
waitpid
|
||||||
'
|
'
|
||||||
|
|
||||||
# Additional xgettext options to use. Use "\\\newline" to break lines.
|
# Additional xgettext options to use. Use "\\\newline" to break lines.
|
||||||
|
@ -621,12 +621,6 @@ static void virEventHandleWakeup(int watch ATTRIBUTE_UNUSED,
|
|||||||
virMutexUnlock(&eventLoop.lock);
|
virMutexUnlock(&eventLoop.lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
static inline int pipe(int fd[2]) {
|
|
||||||
return _pipe(fd, 4096, 0);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int virEventInit(void)
|
int virEventInit(void)
|
||||||
{
|
{
|
||||||
if (virMutexInit(&eventLoop.lock) < 0)
|
if (virMutexInit(&eventLoop.lock) < 0)
|
||||||
|
@ -86,11 +86,6 @@
|
|||||||
|
|
||||||
#define VIR_FROM_THIS VIR_FROM_REMOTE
|
#define VIR_FROM_THIS VIR_FROM_REMOTE
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
# define pipe(fds) _pipe(fds,4096, _O_BINARY)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
static int inside_daemon = 0;
|
static int inside_daemon = 0;
|
||||||
|
|
||||||
struct remote_thread_call;
|
struct remote_thread_call;
|
||||||
|
Loading…
Reference in New Issue
Block a user