Merge branch 'macos-broken-poll' into 'main'

meson: Set BROKEN_POLL in macOS builds

See merge request GNOME/glib!2571
This commit is contained in:
Philip Withnall 2022-03-28 11:59:59 +00:00
commit 2215c88d76

View File

@ -165,8 +165,8 @@ glibconfig_conf.set('LT_CURRENT_MINUS_AGE', soversion)
glib_conf.set('_GNU_SOURCE', 1)
if host_system == 'windows'
# Poll doesn't work on devices on Windows
if host_system in ['windows', 'darwin']
# Poll doesn't work on devices on Windows, and macOS's poll() implementation is known to be broken
glib_conf.set('BROKEN_POLL', true)
endif