Add support for HDF5 >= 1.10
This commit is contained in:
parent
ec4e895fd8
commit
3af42c98d0
@ -52,7 +52,11 @@ knowledge of the CeCILL license and that you accept its terms.
|
|||||||
|
|
||||||
namespace CosmoTool {
|
namespace CosmoTool {
|
||||||
#if H5_VERSION_GE(1,8,20)
|
#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;
|
typedef H5::CommonFG H5_CommonFileGroup;
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
typedef H5::Group H5_CommonFileGroup;
|
typedef H5::Group H5_CommonFileGroup;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user