summaryrefslogtreecommitdiffstats
path: root/src/H5Pmapl.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-05 18:14:26 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-05 18:14:26 (GMT)
commit34eff2aae501e0276f58d2113c02d15b51fca7d8 (patch)
treeee23f90c1458653e680c2a1f088f8f6d071e2b95 /src/H5Pmapl.c
parentafd4b291315e39e3966eadaf8ae9894b30e9504e (diff)
downloadhdf5-34eff2aae501e0276f58d2113c02d15b51fca7d8.zip
hdf5-34eff2aae501e0276f58d2113c02d15b51fca7d8.tar.gz
hdf5-34eff2aae501e0276f58d2113c02d15b51fca7d8.tar.bz2
Change some GCC warnings to errors. Fix code to quiet some warnings.
Diffstat (limited to 'src/H5Pmapl.c')
-rw-r--r--src/H5Pmapl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Pmapl.c b/src/H5Pmapl.c
index fe5be0f..59da91a 100644
--- a/src/H5Pmapl.c
+++ b/src/H5Pmapl.c
@@ -138,6 +138,7 @@ done:
} /* end H5P__macc_reg_prop() */
+#ifdef H5_HAVE_MAP_API
/*-------------------------------------------------------------------------
* Function: H5Pset_map_iterate_hints
*
@@ -214,4 +215,4 @@ H5Pget_map_iterate_hints(hid_t mapl_id, size_t *key_prefetch_size, size_t *key_a
done:
FUNC_LEAVE_API(ret_value)
} /* end H5Pget_map_iterate_hints() */
-
+#endif /* H5_HAVE_MAP_API */