summaryrefslogtreecommitdiff
path: root/glnx-backports.h
diff options
context:
space:
mode:
Diffstat (limited to 'glnx-backports.h')
-rw-r--r--glnx-backports.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/glnx-backports.h b/glnx-backports.h
index 0c5fabe..bdc4bbe 100644
--- a/glnx-backports.h
+++ b/glnx-backports.h
@@ -48,6 +48,10 @@ G_BEGIN_DECLS
} G_STMT_END
#endif
+#if !GLIB_CHECK_VERSION(2, 40, 0)
+#define g_info(...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, __VA_ARGS__)
+#endif
+
#if !GLIB_CHECK_VERSION(2, 44, 0)
#define g_strv_contains glnx_strv_contains