mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
meson: Define _GNU_SOURCE as a project argument
We use it pretty much everywhere in order to get feature detection, and that's also what the AC_USE_SYSTEM_EXTENSIONS m4 macro defines in the Autotools build. https://bugzilla.gnome.org/show_bug.cgi?id=785955
This commit is contained in:
parent
4860511d8d
commit
1a755a63e1
@ -58,6 +58,8 @@ glib_giomodulesdir = join_paths(glib_libdir, 'gio', 'modules')
|
||||
|
||||
glib_pkgconfigreldir = join_paths(glib_libdir, 'pkgconfig')
|
||||
|
||||
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
||||
|
||||
########################
|
||||
# Configuration begins #
|
||||
########################
|
||||
|
Loading…
Reference in New Issue
Block a user