[glib/glib-2-72: 2/3] meson: Set BROKEN_POLL in macOS builds




commit 1738e253753c6971d7271aa44b956b287e8c41ef
Author: Haruka Ma <mrx hcc im>
Date:   Mon Mar 28 11:59:59 2022 +0000

    meson: Set BROKEN_POLL in macOS builds

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 22220cd65f..e07ae35de6 100644
--- a/meson.build
+++ b/meson.build
@@ -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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]