summaryrefslogtreecommitdiffstats
path: root/src/H5Bprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Bprivate.h')
-rw-r--r--src/H5Bprivate.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/H5Bprivate.h b/src/H5Bprivate.h
index 0dcc924..cb038ec 100644
--- a/src/H5Bprivate.h
+++ b/src/H5Bprivate.h
@@ -39,10 +39,14 @@
/**************************/
/*
- * NOTE: Define H5B_DEBUG if you want to check B-tree consistency
- * after each B-tree operation. Note that this slows down the
- * library considerably!
+ * Feature: Define this constant if you want to check B-tree consistency
+ * after each B-tree operation. Note that this slows down the
+ * library considerably! Debugging the B-tree depends on assert()
+ * being enabled.
*/
+#ifdef NDEBUG
+# undef H5B_DEBUG
+#endif
/****************************/