Add support for HDF5 >= 1.10

This commit is contained in:
Guilhem Lavaux 2019-04-18 11:22:54 +02:00
parent ec4e895fd8
commit 3af42c98d0

View File

@ -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