[gnome-software/wip/lantw/freebsd-memory-total: 328/328] build: Update _XOPEN_SOURCE to the latest version
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/lantw/freebsd-memory-total: 328/328] build: Update _XOPEN_SOURCE to the latest version
- Date: Tue, 17 Apr 2018 11:48:29 +0000 (UTC)
commit 70e61fc61a42b0a5ed78f62bf3ad880cabff2682
Author: Ting-Wei Lan <lantw src gnome org>
Date: Wed Jan 31 03:45:27 2018 +0800
build: Update _XOPEN_SOURCE to the latest version
Setting _XOPEN_SOURCE to 500 disables C99 on FreeBSD and causes implicit
declaration warnings to be shown during compilation.
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index ba87f9a1..58605b11 100644
--- a/meson.build
+++ b/meson.build
@@ -90,7 +90,7 @@ add_global_link_arguments(
)
# Needed for PATH_MAX and symlink()
-add_project_arguments('-D_XOPEN_SOURCE=500', language : 'c')
+add_project_arguments('-D_XOPEN_SOURCE=700', language : 'c')
appstream_glib = dependency('appstream-glib', version : '>= 0.7.3')
gdk_pixbuf = dependency('gdk-pixbuf-2.0', version : '>= 2.32.0')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]