[clutter-gtk] build: Use newer version of X/Open system interface
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gtk] build: Use newer version of X/Open system interface
- Date: Mon, 5 Jun 2017 14:23:06 +0000 (UTC)
commit ef95dd784fcbda0471620b7c3a6a142c5220559c
Author: Ting-Wei Lan <lantw src gnome org>
Date: Mon Jun 5 21:52:49 2017 +0800
build: Use newer version of X/Open system interface
Defining _XOPEN_SOURCE to 500 on FreeBSD means a C89 environment with
_POSIX_C_SOURCE set to 199506, which disables C99 functions. Since
ceilf is a new function added in C99, we should set _XOPEN_SOURCE to a
higher value.
https://bugzilla.gnome.org/show_bug.cgi?id=783431
meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 8b135ce..12d8241 100644
--- a/meson.build
+++ b/meson.build
@@ -7,7 +7,7 @@ project('clutter-gtk', 'c', version: '1.8.3',
],
meson_version: '>= 0.40.1')
-add_project_arguments([ '-D_XOPEN_SOURCE=500' ], language: 'c')
+add_project_arguments([ '-D_XOPEN_SOURCE=700' ], language: 'c')
cc = meson.get_compiler('c')
host_system = host_machine.system()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]