mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-05-02 06:46:26 -04:00
darwin: Use epoll-shim
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
parent
9b93dd87f0
commit
75160d3ed3
1 changed files with 3 additions and 3 deletions
|
|
@ -79,9 +79,9 @@ endif
|
||||||
config_h.set10('HAVE_BROKEN_MSG_CMSG_CLOEXEC', have_broken_msg_cmsg_cloexec)
|
config_h.set10('HAVE_BROKEN_MSG_CMSG_CLOEXEC', have_broken_msg_cmsg_cloexec)
|
||||||
|
|
||||||
if get_option('libraries')
|
if get_option('libraries')
|
||||||
if host_machine.system() in ['freebsd', 'openbsd']
|
if host_machine.system() in ['darwin', 'freebsd', 'openbsd']
|
||||||
# When building for FreeBSD, epoll(7) is provided by a userspace
|
# When building for darwin, FreeBSD, or OpenBSD, epoll(7) is
|
||||||
# wrapper around kqueue(2).
|
# provided by a userspace wrapper around kqueue(2).
|
||||||
epoll_dep = dependency('epoll-shim')
|
epoll_dep = dependency('epoll-shim')
|
||||||
else
|
else
|
||||||
# Otherwise, assume that epoll(7) is supported natively.
|
# Otherwise, assume that epoll(7) is supported natively.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue