From e0ce86ae187fe3f106494a78d4f69b57be3324d6 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 1 Nov 2018 18:14:35 +0100 Subject: [PATCH] Attempt to fix version detection --- src/hdf5_array.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;