mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-23 16:59:54 +08:00
Merge pull request #2695 from mathstuf/hdf5-api-checks
hdf5open: check for the H5L info structure version directly
This commit is contained in:
commit
c82f0236a9
@ -2721,7 +2721,7 @@ oinfo_list_add(user_data_t *udata, const hdf5_obj_info_t *oinfo)
|
|||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
read_hdf5_obj(hid_t grpid, const char *name,
|
read_hdf5_obj(hid_t grpid, const char *name,
|
||||||
#if H5_VERSION_GE(1,12,0)
|
#if defined(H5Lget_info_vers) && H5Lget_info_vers == 2
|
||||||
const H5L_info2_t *info,
|
const H5L_info2_t *info,
|
||||||
#else
|
#else
|
||||||
const H5L_info_t *info,
|
const H5L_info_t *info,
|
||||||
|
Loading…
Reference in New Issue
Block a user