Skip to content

Commit

Permalink
fix compilation if HDF5 not present (closes #2742)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Apr 3, 2024
1 parent c6e5a20 commit 9f2c1fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/h5file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ typedef hssize_t start_t;

#else
typedef int hid_t;
#define H5T_NATIVE_FLOAT 0
#define H5T_NATIVE_DOUBLE 0
#endif

#define HID(x) (*((hid_t *)(x)))
Expand Down

0 comments on commit 9f2c1fe

Please sign in to comment.