diff --git a/src/hdf5_array.hpp b/src/hdf5_array.hpp index f6d2f29..8e222f8 100644 --- a/src/hdf5_array.hpp +++ b/src/hdf5_array.hpp @@ -52,7 +52,11 @@ knowledge of the CeCILL license and that you accept its terms. namespace CosmoTool { #if H5_VERSION_GE(1,8,20) +#if H5_VERSION_GE(1,10,1) + typedef H5::H5Location H5_CommonFileGroup; +#else typedef H5::CommonFG H5_CommonFileGroup; +#endif #else typedef H5::Group H5_CommonFileGroup; #endif