diff options
Diffstat (limited to 'memcheck/memcheck_mmrange_map.c')
-rw-r--r-- | memcheck/memcheck_mmrange_map.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/memcheck/memcheck_mmrange_map.c b/memcheck/memcheck_mmrange_map.c index d9a1211..f2609df 100644 --- a/memcheck/memcheck_mmrange_map.c +++ b/memcheck/memcheck_mmrange_map.c @@ -15,6 +15,12 @@ * memory mappings in the guest system. */ +/* 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 "memcheck_mmrange_map.h" #include "memcheck_logging.h" |