mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
build: Drop use of G_DISABLE_DEPRECATED from the build system
It’s no longer used in any of the headers. See preceding commits. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@@ -3,7 +3,7 @@ if not get_option('fam')
|
||||
endif
|
||||
|
||||
fam_dep = cc.find_library('fam')
|
||||
fam_c_args = ['-DG_DISABLE_DEPRECATED'] + gio_c_args
|
||||
fam_c_args = gio_c_args
|
||||
if cc.has_function('FAMNoExists', dependencies : fam_dep)
|
||||
fam_c_args += '-DHAVE_FAM_NO_EXISTS=1'
|
||||
endif
|
||||
|
@@ -12,4 +12,4 @@ inotify_lib = static_library('inotify',
|
||||
include_directories : [configinc, glibinc, gmoduleinc],
|
||||
dependencies : [gioenumtypes_dep, libglib_dep, libgobject_dep],
|
||||
pic : true,
|
||||
c_args : [ '-DG_DISABLE_DEPRECATED' ] + gio_c_args)
|
||||
c_args : gio_c_args)
|
||||
|
@@ -10,4 +10,4 @@ kqueue_lib = static_library('kqueue',
|
||||
include_directories : [configinc, glibinc, gmoduleinc],
|
||||
dependencies : [gioenumtypes_dep],
|
||||
pic : true,
|
||||
c_args : [ '-DG_DISABLE_DEPRECATED' ] + gio_c_args)
|
||||
c_args : gio_c_args)
|
||||
|
@@ -12,4 +12,4 @@ giowin32_lib = static_library('giowin32',
|
||||
include_directories : [configinc, glibinc, gioinc, gmoduleinc],
|
||||
dependencies : [libintl, gioenumtypes_dep],
|
||||
pic : true,
|
||||
c_args : [ '-DG_DISABLE_DEPRECATED' ] + gio_c_args)
|
||||
c_args : gio_c_args)
|
||||
|
Reference in New Issue
Block a user