summaryrefslogtreecommitdiff
path: root/storage/tokudb/PerconaFT/portability/toku_race_tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/PerconaFT/portability/toku_race_tools.h')
-rw-r--r--storage/tokudb/PerconaFT/portability/toku_race_tools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/tokudb/PerconaFT/portability/toku_race_tools.h b/storage/tokudb/PerconaFT/portability/toku_race_tools.h
index 96712ffffdc..eee08185513 100644
--- a/storage/tokudb/PerconaFT/portability/toku_race_tools.h
+++ b/storage/tokudb/PerconaFT/portability/toku_race_tools.h
@@ -45,7 +45,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
#define USE_VALGRIND 1
#endif
-#if defined(__linux__) && USE_VALGRIND
+#if defined(__linux__) && defined(USE_VALGRIND) && USE_VALGRIND
# include <valgrind/helgrind.h>
# include <valgrind/drd.h>