mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-05-03 06:46:33 -04:00
client: Use poll() as fallback when ppoll() is unavailable
On platforms like darwin that lack ppoll(), fall back to poll() with a millisecond timeout. Since the ppoll() call uses a NULL signal mask, the behavior is equivalent. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
parent
03e68b01ac
commit
2454dd0eec
2 changed files with 17 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ have_funcs = [
|
|||
'getpeereid',
|
||||
'mkostemp',
|
||||
'posix_fallocate',
|
||||
'ppoll',
|
||||
'prctl',
|
||||
'memfd_create',
|
||||
'mremap',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue