Fix compilation under ubunt 12.04

This commit is contained in:
o9000 2017-04-22 22:21:13 +02:00
parent 2e832a988f
commit 91f7384fd2

View file

@ -139,4 +139,8 @@ GList *g_list_copy_deep(GList *list, GCopyFunc func, gpointer user_data);
#define g_assert_null(expr) g_assert((expr) == NULL)
#endif
#if !GLIB_CHECK_VERSION(2, 40, 0)
#define g_assert_nonnull(expr) g_assert((expr) != NULL)
#endif
#endif