[vte] build: Make sure __BSD_VISIBLE is defined on freebsd
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] build: Make sure __BSD_VISIBLE is defined on freebsd
- Date: Sat, 25 Jun 2022 18:37:49 +0000 (UTC)
commit 0372107ad01e84912ac6c4806f4b6b1c47d8634b
Author: Christian Persch <chpe src gnome org>
Date: Sat Jun 25 20:37:29 2022 +0200
build: Make sure __BSD_VISIBLE is defined on freebsd
By not defining any of the other feature macros, it *should* enable all
of them.
https://gitlab.gnome.org/GNOME/vte/-/issues/2564
meson.build | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index 6a0629c8..15200e31 100644
--- a/meson.build
+++ b/meson.build
@@ -223,12 +223,10 @@ libc_feature_defines = [
if host_machine.system() == 'freebsd'
# Defining _POSIX_C_SOURCE above makes freebsd not expose some functionality
- # that's hidden behind __BSD_VISIBLE. Since there appears to be no other way
- # to make everything visible, just forcibly define __BSD_VISIBLE.
+ # that's hidden behind __BSD_VISIBLE. Not defininy any of the above however
+ # makes it expose verything.
- libc_feature_defines += [
- ['__BSD_VISIBLE', '1'],
- ]
+ libc_feature_defines = []
endif
foreach f: libc_feature_defines
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]