[vte/vte-0-70] build: Add define for darwin
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-70] build: Add define for darwin
- Date: Fri, 23 Sep 2022 14:26:34 +0000 (UTC)
commit 1f1f177ff797ac2bb453168951135865cfded900
Author: Christian Persch <chpe src gnome org>
Date: Fri Sep 23 16:26:27 2022 +0200
build: Add define for darwin
Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2592
(cherry picked from commit 8ef3f6b2f8043d28cbc82520eb094f09333b26ae)
meson.build | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/meson.build b/meson.build
index 1377e971..51da7d71 100644
--- a/meson.build
+++ b/meson.build
@@ -229,6 +229,12 @@ 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', '1'],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]