Remove vestiges of H5_DEBUG_BUILD macro, switching it to the more

standard H5CX_DEBUG form.
This commit is contained in:
Quincey Koziol 2018-04-06 17:19:29 -05:00
parent 051c5fa9b3
commit 62b4200f58
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)