[glib: 2/11] Force to use the config.h header file (required for HAVE_MMAP macro)




commit b4893986b07ee6651494f0edae836918e431a26e
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Thu Apr 15 15:22:49 2021 +0200

    Force to use the config.h header file (required for HAVE_MMAP macro)

 gio/xdgmime/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/xdgmime/meson.build b/gio/xdgmime/meson.build
index d107f71bb..4c8a552a2 100644
--- a/gio/xdgmime/meson.build
+++ b/gio/xdgmime/meson.build
@@ -13,4 +13,5 @@ xdgmime_lib = static_library('xdgmime',
   sources : xdgmime_sources,
   include_directories : [configinc],
   pic : true,
-  c_args : [ '-DXDG_PREFIX=_gio_xdg' ] + glib_hidden_visibility_args)
+  c_args : [ '-DHAVE_CONFIG_H',
+             '-DXDG_PREFIX=_gio_xdg' ] + glib_hidden_visibility_args)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]