diff options
Diffstat (limited to 'glnx-backport-testutils.h')
-rw-r--r-- | glnx-backport-testutils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/glnx-backport-testutils.h b/glnx-backport-testutils.h index 2febcc0..9c17f06 100644 --- a/glnx-backport-testutils.h +++ b/glnx-backport-testutils.h @@ -34,6 +34,14 @@ G_BEGIN_DECLS +#ifndef g_assert_true /* added in 2.38 */ +#define g_assert_true(x) g_assert ((x)) +#endif + +#ifndef g_assert_false /* added in 2.38 */ +#define g_assert_false(x) g_assert (!(x)) +#endif + #ifndef g_assert_nonnull /* added in 2.40 */ #define g_assert_nonnull(x) g_assert (x != NULL) #endif |