mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'solaris-defines' into 'master'
Meson: Add missing defines on Solaris See merge request GNOME/glib!64
This commit is contained in:
commit
f06ba1722c
@ -1775,11 +1775,17 @@ have_sh = find_program('sh', required : false).found() # For glib-gettextize
|
||||
# FIXME: defines in config.h that are not actually used anywhere
|
||||
# (we add them for now to minimise the diff)
|
||||
glib_conf.set('HAVE_DLFCN_H', 1)
|
||||
glib_conf.set('__EXTENSIONS__', 1)
|
||||
glib_conf.set('STDC_HEADERS', 1)
|
||||
# THREADS_NONE
|
||||
glib_conf.set('SIZEOF___INT64', 8)
|
||||
|
||||
# FIXME: How to detect Solaris? https://github.com/mesonbuild/meson/issues/1578
|
||||
if host_system == 'sunos'
|
||||
glib_conf.set('_XOPEN_SOURCE_EXTENDED', 1)
|
||||
glib_conf.set('_XOPEN_SOURCE', 2)
|
||||
glib_conf.set('__EXTENSIONS__',1)
|
||||
endif
|
||||
|
||||
glib_conf.set('GIO_MODULE_DIR', glib_giomodulesdir)
|
||||
|
||||
# Sadly Meson does not expose this value:
|
||||
|
Loading…
Reference in New Issue
Block a user