diff options
Diffstat (limited to 'memcheck/memcheck_util.c')
-rw-r--r-- | memcheck/memcheck_util.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/memcheck/memcheck_util.c b/memcheck/memcheck_util.c index 8a59914..5449488 100644 --- a/memcheck/memcheck_util.c +++ b/memcheck/memcheck_util.c @@ -14,6 +14,12 @@ * Contains implementation of utility routines for memchecker framework. */ +/* This file should compile iff qemu is built with memory checking + * configuration turned on. */ +#ifndef CONFIG_MEMCHECK +#error CONFIG_MEMCHECK is not defined. +#endif // CONFIG_MEMCHECK + #include "stdio.h" #include "qemu-common.h" #include "android/utils/path.h" |