Browse Source

Use #ifdef NO_VALGRIND

Using simply #if will fail when NO_VALGRIND is undefined.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
main
Marc-André Lureau 2 years ago committed by David Gibson
parent
commit
4182182110
  1. 2
      tests/testutils.c

2
tests/testutils.c

@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
#include <unistd.h>
#include <fcntl.h>

#if NO_VALGRIND
#ifdef NO_VALGRIND
static inline void VALGRIND_MAKE_MEM_UNDEFINED(void *p, size_t len)
{
}

Loading…
Cancel
Save