[gnome-terminal] build: Fix libc feature defines
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] build: Fix libc feature defines
- Date: Sat, 24 Sep 2022 21:30:53 +0000 (UTC)
commit ba4c8fa15158fba8c723d631f827b929b9e5f0e9
Author: Christian Persch <chpe src gnome org>
Date: Sat Sep 24 23:30:20 2022 +0200
build: Fix libc feature defines
meson.build | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 1530c8ff..8f8ae38f 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]