Commit ef95dd78 authored by Ting-Wei Lan's avatar Ting-Wei Lan
Browse files

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
parent 89fa8f79
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment