Fix compilation under ubunt 12.04
This commit is contained in:
parent
2e832a988f
commit
91f7384fd2
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue