[PATCH spice-gtk 2/3] tests-uri: Define g_assert_nonnull

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is available since Glib 2.40
---
 tests/uri.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/uri.c b/tests/uri.c
index ea8b794..5bfed2d 100644
--- a/tests/uri.c
+++ b/tests/uri.c
@@ -19,6 +19,11 @@
 #include <spice-client.h>
 #include "spice-uri-priv.h"
 
+/* GLIB_CHECK_VERSION(2, 40, 0) */
+#ifndef g_assert_nonnull
+#define g_assert_nonnull g_assert
+#endif
+
 struct test_case {
     gchar *uri;
     gchar *scheme;
-- 
2.8.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]