From 41821821101ad8a9f83746b96b163e5bcbdbe804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 22 Feb 2023 00:08:29 +0400 Subject: [PATCH] Use #ifdef NO_VALGRIND MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using simply #if will fail when NO_VALGRIND is undefined. Signed-off-by: Marc-André Lureau --- tests/testutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testutils.c b/tests/testutils.c index d1ddee3..ca343e0 100644 --- a/tests/testutils.c +++ b/tests/testutils.c @@ -19,7 +19,7 @@ #include #include -#if NO_VALGRIND +#ifdef NO_VALGRIND static inline void VALGRIND_MAKE_MEM_UNDEFINED(void *p, size_t len) { }