mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
Use #ifdef NO_VALGRIND
Using simply #if will fail when NO_VALGRIND is undefined. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
71c19f20b3
commit
4182182110
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue