aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libibex/testindex.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libibex/testindex.c b/libibex/testindex.c
index e531e3291a..acfa892360 100644
--- a/libibex/testindex.c
+++ b/libibex/testindex.c
@@ -150,8 +150,10 @@ int main(int argc, char **argv)
#ifdef ENABLE_THREADS
pthread_t id;
#endif
- mcheck(blowup);
+#ifdef DO_MCHECK
+ mcheck(blowup);
+#endif
words = g_ptr_array_new();
buffer = g_string_new("");