Remove HAVE_CONFIG_H defs and uses

Since GLib files are only meant to be built as part of GLib, config.h
always exists, so the checks are more or less pointless.

https://bugzilla.gnome.org/show_bug.cgi?id=793399
This commit is contained in:
Ernestas Kulik
2018-02-19 14:09:10 +02:00
committed by Philip Withnall
parent 9d24c8b223
commit 03e86d000f
49 changed files with 31 additions and 100 deletions

View File

@@ -12,4 +12,4 @@ inotify_lib = static_library('inotify',
include_directories : [configinc, glibinc, gmoduleinc],
dependencies : [gioenumtypes_dep],
pic : true,
c_args : [ '-DHAVE_CONFIG_H', '-DG_DISABLE_DEPRECATED' ] + gio_c_args)
c_args : [ '-DG_DISABLE_DEPRECATED' ] + gio_c_args)