Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand logic around H5Literate2 data structure use. #2977

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config.h.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ are set when opening a binary file on Windows. */
/* Define to 1 if you have the `fileno' function. */
#cmakedefine HAVE_FILENO 1

/* Define to 1 if you have the `H5Literate2' function. */
#cmakedefine HAVE_H5LITERATE2
WardF marked this conversation as resolved.
Show resolved Hide resolved

/* Define to 1 if you have the `fsync' function. */
#cmakedefine HAVE_FSYNC 1

Expand Down
2 changes: 1 addition & 1 deletion libhdf5/hdf5open.c
Original file line number Diff line number Diff line change
Expand Up @@ -2675,7 +2675,7 @@ oinfo_list_add(user_data_t *udata, const hdf5_obj_info_t *oinfo)
*/
static int
read_hdf5_obj(hid_t grpid, const char *name,
#if defined(H5Lget_info_vers) && H5Lget_info_vers == 2
#if (defined(H5Lget_info_vers) && H5Lget_info_vers == 2) || defined(HAVE_H5LITERATE2)
const H5L_info2_t *info,
#else
const H5L_info_t *info,
Expand Down
Loading