1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Define g_strcmp0 to strcmp if the glib version is older than 2.16

This commit is contained in:
dequis 2015-04-07 23:01:09 -03:00
parent f14199d9c1
commit ef0877f484

View File

@ -52,6 +52,10 @@
#define g_slice_free(type, mem) g_free(mem)
#endif
#if !GLIB_CHECK_VERSION(2,16,0)
#define g_strcmp0(str1, str2) strcmp(str1, str2)
#endif
#ifdef USE_GC
# define g_free(x) G_STMT_START { (x) = NULL; } G_STMT_END
#endif