Skip to content

Commit

Permalink
fixed H5O_info_t incompatiblity with H5Oget_info_by_idx3
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Jan 7, 2021
1 parent 08da640 commit ca3d8c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions h5_test/tst_h_atts3.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ main()
hid_t file_typeid1[NUM_OBJ_1], native_typeid1[NUM_OBJ_1];
hid_t file_typeid2, native_typeid2;
hsize_t num_obj;
#if H5_VERSION_GE(1,12,0)
H5O_info2_t obj_info;
#else
H5O_info_t obj_info;
#endif
char obj_name[STR_LEN + 1];
hsize_t dims[1] = {ATT_LEN}; /* netcdf attributes always 1-D. */

Expand Down

0 comments on commit ca3d8c1

Please sign in to comment.