Backport !1008 “gmessages: Only use structured logs if GLIB_VERSION_MAX_ALLOWED is ≥2.56” to glib-2-60
Only redefine g_message() and friends to use structured logging if the compiling code is OK with depending on GLib functionality from ≥2.56.
Signed-off-by: Philip Withnall withnall@endlessm.com
Fixes: #1847 (closed)
Trivial backport of !1008 (merged) to glib-2-60
.
Edited by Philip Withnall