aboutsummaryrefslogtreecommitdiffstats
path: root/memcheck/memcheck_proc_management.h
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-02-09 18:04:23 -0800
committerXavier Ducrohet <xav@android.com>2011-02-09 18:04:23 -0800
commitfc8ed80ba1362d2ce500003625e1c9c39f765661 (patch)
tree760b9c298c8fe37411e174f7bd214ff644cda0ec /memcheck/memcheck_proc_management.h
parent1ebd6d701f91c34f4562f522d5b2ce32be056d85 (diff)
downloadexternal_qemu-fc8ed80ba1362d2ce500003625e1c9c39f765661.zip
external_qemu-fc8ed80ba1362d2ce500003625e1c9c39f765661.tar.gz
external_qemu-fc8ed80ba1362d2ce500003625e1c9c39f765661.tar.bz2
Revert "Build arm and x86 binaries at the same time."
This fails to build on MacOS X This reverts commit a39b10bd2574825a815d6ad854499dd127cfa9cb.
Diffstat (limited to 'memcheck/memcheck_proc_management.h')
-rw-r--r--memcheck/memcheck_proc_management.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/memcheck/memcheck_proc_management.h b/memcheck/memcheck_proc_management.h
index 7f489cf..68b6181 100644
--- a/memcheck/memcheck_proc_management.h
+++ b/memcheck/memcheck_proc_management.h
@@ -18,6 +18,12 @@
#ifndef QEMU_MEMCHECK_MEMCHECK_PROC_MANAGEMENT_H
#define QEMU_MEMCHECK_MEMCHECK_PROC_MANAGEMENT_H
+/* 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 "qemu-queue.h"
#include "memcheck_common.h"
#include "memcheck_malloc_map.h"