Fix compilation under ubunt 12.04
This commit is contained in:
@@ -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)
|
#define g_assert_null(expr) g_assert((expr) == NULL)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !GLIB_CHECK_VERSION(2, 40, 0)
|
||||||
|
#define g_assert_nonnull(expr) g_assert((expr) != NULL)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user