diff mbox series

debug: Suppress FAIL macro redefinition warning in tst-fortify

Message ID 87a5gehbzs.fsf@oldenburg.str.redhat.com
State New
Headers show
Series debug: Suppress FAIL macro redefinition warning in tst-fortify | expand

Commit Message

Florian Weimer Sept. 11, 2024, 7:43 a.m. UTC
Fixes commit 1b97a9f23bf605ca608162089c94187573fb2a9e
("support: Add FAIL test failure helper").

---
 debug/tst-fortify.c | 1 +
 1 file changed, 1 insertion(+)


base-commit: 8ecb477ea16a387a44ace5bf59d39a7e270b238b
diff mbox series

Patch

diff --git a/debug/tst-fortify.c b/debug/tst-fortify.c
index ae738ff10a..54d67111fa 100644
--- a/debug/tst-fortify.c
+++ b/debug/tst-fortify.c
@@ -129,6 +129,7 @@  static char buf2[10] = "%s";
 static int num1 = 67;
 static int num2 = 987654;
 
+#undef FAIL
 #define FAIL() \
   do { printf ("Failure on line %d\n", __LINE__); ret = 1; } while (0)
 #define CHK_FAIL_START \