mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-25 06:46:34 -04:00
Call epoll_shim_ppoll() instead of ppoll() on Darwin
This amends ddd348da7e .
Signed-off-by: Liang Qi <cavendish.qi@gmail.com>
This commit is contained in:
parent
f9c13de55d
commit
f785060318
3 changed files with 23 additions and 2 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <poll.h>
|
||||
|
||||
int
|
||||
wl_os_socket_cloexec(int domain, int type, int protocol);
|
||||
|
|
@ -51,6 +52,9 @@ void *
|
|||
wl_os_mremap_maymove(int fd, void *old_data, ssize_t *old_size,
|
||||
ssize_t new_size, int prot, int flags);
|
||||
|
||||
int
|
||||
wl_os_ppoll(struct pollfd *fds, nfds_t nfds,
|
||||
const struct timespec *timeout_ts, const sigset_t *sigmask);
|
||||
|
||||
/*
|
||||
* The following are for wayland-os.c and the unit tests.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue