From 0edd7cb8a10388e22cd6b3a37295a6ffddf7e693 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Fri, 5 Mar 2010 15:52:38 -0500 Subject: [PATCH] undef the proper macros to avoid warning message --- glib/tests/mem-overflow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/tests/mem-overflow.c b/glib/tests/mem-overflow.c index f78c7b734..9ebd44365 100644 --- a/glib/tests/mem-overflow.c +++ b/glib/tests/mem-overflow.c @@ -61,8 +61,8 @@ mem_overflow (void) CHECK_FAIL (g_try_renew (X, q, b)); free (p); -#undef CHECK_EQ -#undef CHECK_NEQ +#undef CHECK_FAIL +#undef CHECK_PASS #define CHECK_FAIL(P) if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR)) { p = (P); exit (0); } g_test_trap_assert_failed(); #define CHECK_PASS(P) if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR)) { p = (P); exit (0); } g_test_trap_assert_passed();