summaryrefslogtreecommitdiff
path: root/storage/tokudb/PerconaFT/portability/toku_debug_sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/PerconaFT/portability/toku_debug_sync.h')
-rw-r--r--storage/tokudb/PerconaFT/portability/toku_debug_sync.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/tokudb/PerconaFT/portability/toku_debug_sync.h b/storage/tokudb/PerconaFT/portability/toku_debug_sync.h
index cf0788f6f2b..affe3054214 100644
--- a/storage/tokudb/PerconaFT/portability/toku_debug_sync.h
+++ b/storage/tokudb/PerconaFT/portability/toku_debug_sync.h
@@ -40,7 +40,8 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
struct tokutxn;
-#if defined(ENABLED_DEBUG_SYNC)
+#if defined(MYSQL_TOKUDB_ENGINE) && MYSQL_TOKUDB_ENGINE && \
+ defined(ENABLED_DEBUG_SYNC) && ENABLED_DEBUG_SYNC
/*
the below macros are defined in my_global.h