summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2018-04-06 22:31:00 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2018-04-06 22:31:00 (GMT)
commit3211e907f4f9349ba7510d70cfbcc6ee36d99c58 (patch)
tree28b6b57af73f4023ed15547d54cd86e77a4e8b0d
parent051c5fa9b3541dce7c8d90e7fbab95c9e51bc709 (diff)
parent62b4200f580e9ea0b95cbc218bfae50ae38ef25d (diff)
downloadhdf5-3211e907f4f9349ba7510d70cfbcc6ee36d99c58.zip
hdf5-3211e907f4f9349ba7510d70cfbcc6ee36d99c58.tar.gz
hdf5-3211e907f4f9349ba7510d70cfbcc6ee36d99c58.tar.bz2
Merge pull request #1019 in HDFFV/hdf5 from ~KOZIOL/hdf5:update_api_context to develop
* commit '62b4200f580e9ea0b95cbc218bfae50ae38ef25d': Remove vestiges of H5_DEBUG_BUILD macro, switching it to the more standard H5CX_DEBUG form.
-rw-r--r--configure.ac2
-rw-r--r--src/H5CX.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 98c97cc..c68caab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2243,7 +2243,7 @@ AC_SUBST([INTERNAL_DEBUG_OUTPUT])
## are not listed in the "all" packages list.
##
## all_packages="AC,B,B2,D,F,FA,FL,FS,HL,I,O,S,ST,T,Z"
-all_packages="AC,B2,D,F,HL,I,O,S,ST,T,Z"
+all_packages="AC,B2,CX,D,F,HL,I,O,S,ST,T,Z"
case "X-$INTERNAL_DEBUG_OUTPUT" in
X-yes|X-all)
diff --git a/src/H5CX.c b/src/H5CX.c
index 9427e05..af2619b 100644
--- a/src/H5CX.c
+++ b/src/H5CX.c
@@ -826,11 +826,11 @@ H5CX_set_apl(hid_t *acspl_id, const H5P_libclass_t *libclass,
else {
htri_t is_lapl; /* Whether the access property list is (or is derived from) a link access property list */
-#ifdef H5_DEBUG_BUILD
+#ifdef H5CX_DEBUG
/* Sanity check the access property list class */
if(TRUE != H5P_isa_class(*acspl_id, *libclass->class_id))
HGOTO_ERROR(H5E_CONTEXT, H5E_BADTYPE, FAIL, "not the required access property list")
-#endif /* H5_DEBUG_BUILD */
+#endif /* H5CX_DEBUG*/
/* Check for link access property and set API context if so */
if((is_lapl = H5P_class_isa(*libclass->pclass, *H5P_CLS_LACC->pclass)) < 0)