diff options
author | Pavel Grunt <pgrunt@redhat.com> | 2016-06-13 11:35:00 +0200 |
---|---|---|
committer | Pavel Grunt <pgrunt@redhat.com> | 2016-06-13 13:07:47 +0200 |
commit | 8cf25bea7b98c38ef9c82a6bcd938e4a6164463e (patch) | |
tree | ef5ff309c96baccfbb2c0aaa9f53eccb31a1a807 /tests | |
parent | 2253df177e2e5a5e52c5f13a412d242fad00ebb7 (diff) |
tests-uri: Define g_assert_nonnull
It is available since Glib 2.40
Diffstat (limited to 'tests')
-rw-r--r-- | tests/uri.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |