Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 33d7ebb89e8a9176ce3d37526ea4deeae21d443b..865413e70d0fe6d1db7cad64a46bc877c9079112 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -696,7 +696,7 @@ DEFINE_bool(stress_compaction, false, |
#endif |
// checks.cc |
-#ifndef OPTIMIZED_DEBUG |
+#ifdef ENABLE_SLOW_ASSERTS |
DEFINE_bool(enable_slow_asserts, false, |
"enable asserts that are slow to execute") |
#endif |