Merge branch '1432-reentrant' into 'master'

Resolve "Meson: Do we need -D_REENTRANT ?"

Closes #1432

See merge request GNOME/glib!149
This commit is contained in:
Xavier Claessens 2018-07-04 15:41:08 +00:00
commit c5321810f4

View File

@ -1518,7 +1518,6 @@ if host_system == 'windows' and not get_option('force_posix_threads')
glibconfig_conf.set('g_threads_impl_def', 'WIN32')
glib_conf.set('THREADS_WIN32', 1)
else
# FIXME: probably needs more tweaking in meson for things like -D_REENTRANT etc.
thread_dep = dependency('threads')
threads_implementation = 'posix'
pthread_prefix = '''