Skip to content

Misc portability improvements to help bring wayland to darwin

With these changes (and changes to epoll-shim), I'm able to build wayland on darwin using -Ddtd_validation=false.

The wayland test suite does not yet pass. os-wrappers-test fails two tests, and display-test times out:

----------------------------------------
Assertion failed: (wrapped_calls_fcntl > n), function do_os_wrappers_dupfd_cloexec, file os-wrappers-test.c, line 238.
test "os_wrappers_dupfd_cloexec":	signal 6, fail.
----------------------------------------
Assertion failed: (wrapped_calls_fcntl > n), function do_os_wrappers_dupfd_cloexec, file os-wrappers-test.c, line 238.
test "os_wrappers_dupfd_cloexec_fallback":	signal 6, fail.
Edited by Jeremy Huddleston Sequoia

Merge request reports