diff options
author | Christian Persch <chpe@src.gnome.org> | 2022-09-23 16:24:57 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2022-09-23 16:24:57 +0200 |
commit | 8ef3f6b2f8043d28cbc82520eb094f09333b26ae (patch) | |
tree | 3034c75efb6d8e10fd3b16d1ad1dca8f3fee8d53 | |
parent | e0675c6533c23c0bdda6531617428cdfe5979ad9 (diff) | |
download | vte-8ef3f6b2f8043d28cbc82520eb094f09333b26ae.tar.gz |
build: Add define for darwin
Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2592
-rw-r--r-- | meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 02c8ba40..f36f93d5 100644 --- a/meson.build +++ b/meson.build @@ -230,6 +230,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'], |