diff --git a/src/hdf5_array.hpp b/src/hdf5_array.hpp index 2e73b9a..693566a 100644 --- a/src/hdf5_array.hpp +++ b/src/hdf5_array.hpp @@ -51,7 +51,7 @@ knowledge of the CeCILL license and that you accept its terms. #include namespace CosmoTool { -#if (H5_VERS_MAJOR == 1) && (H5_VERS_MINOR <= 8) +#if H5_VERSION_GE(1,10,0) typedef H5::CommonFG H5_CommonFileGroup; #else typedef H5::Group H5_CommonFileGroup;