[gnome-terminal/gnome-43] build: Fix libc feature defines
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-43] build: Fix libc feature defines
- Date: Sat, 24 Sep 2022 21:31:19 +0000 (UTC)
commit b3ea92238f2de249b15cb06bc595d7b5ea9f1e44
Author: Christian Persch <chpe src gnome org>
Date: Sat Sep 24 23:30:20 2022 +0200
build: Fix libc feature defines
(cherry picked from commit ba4c8fa15158fba8c723d631f827b929b9e5f0e9)
meson.build | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 708f2326..84387686 100644
--- a/meson.build
+++ b/meson.build
@@ -177,9 +177,15 @@ if system == 'freebsd'
libc_feature_defines = []
+elif system == 'darwin'
+ # See issue #2592
+ libc_feature_defines += [
+ ['_DARWIN_C_SOURCE', '1'],
+ ]
+
elif system == 'netbsd'
libc_feature_defines += [
- '_NETBSD_SOURCE',
+ ['_NETBSD_SOURCE', '1'],
]
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]