summaryrefslogtreecommitdiffstats
path: root/src/H5Bprivate.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-06-29 21:43:10 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-06-29 21:43:10 (GMT)
commitd2c7df4ac005e461df3a486791560821ab7b4585 (patch)
treea6fc48a8cc423e899f14d068515681d513f95f2e /src/H5Bprivate.h
parent5011e90f1a6258f8d660ebac39a169c0bb9d1784 (diff)
downloadhdf5-d2c7df4ac005e461df3a486791560821ab7b4585.zip
hdf5-d2c7df4ac005e461df3a486791560821ab7b4585.tar.gz
hdf5-d2c7df4ac005e461df3a486791560821ab7b4585.tar.bz2
Revert "Partial removal of NDEBUG ifdefs from the library."
This reverts commit a2b7560aa6fa960b2aecddeab331b2b13d485d4f.
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
/****************************/