[glib: 1/2] meson: Set BROKEN_POLL in macOS builds
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] meson: Set BROKEN_POLL in macOS builds
- Date: Mon, 28 Mar 2022 11:59:59 +0000 (UTC)
commit be5acbb5e63b2984444b17f15e6d7bd0069dd6aa
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]