summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-27 16:47:06 (GMT)
committerGitHub <noreply@github.com>2022-07-27 16:47:06 (GMT)
commit05077d378464ab8aa424b2f91b2b422353d644d3 (patch)
tree813a6621cded8b0e507f3583c644475ae1215964
parent21aca4f380ac47b0c19d1926b13eaab0750406d0 (diff)
downloadhdf5-05077d378464ab8aa424b2f91b2b422353d644d3.zip
hdf5-05077d378464ab8aa424b2f91b2b422353d644d3.tar.gz
hdf5-05077d378464ab8aa424b2f91b2b422353d644d3.tar.bz2
H5Tconv: fix H5T_CONV_INTERNAL_ checks (#1936)
Other locations check if it is defined and in cases where it is not available, it is undefined, not 0.
-rw-r--r--src/H5Tconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c
index 895b03d..a713416 100644
--- a/src/H5Tconv.c
+++ b/src/H5Tconv.c
@@ -8361,7 +8361,7 @@ H5T__conv_ldouble_llong(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t n
*
*-------------------------------------------------------------------------
*/
-#if H5T_CONV_INTERNAL_LDOUBLE_ULLONG
+#ifdef H5T_CONV_INTERNAL_LDOUBLE_ULLONG
herr_t
H5T__conv_ldouble_ullong(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, size_t buf_stride,
size_t H5_ATTR_UNUSED bkg_stride, void *buf, void H5_ATTR_UNUSED *bkg)