mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
meson: Set BROKEN_POLL in macOS builds
This commit is contained in:
parent
01a1caa93f
commit
be5acbb5e6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user