Attempt to fix version detection

This commit is contained in:
Guilhem Lavaux 2018-11-01 18:14:35 +01:00
parent b24177484e
commit e0ce86ae18

View File

@ -51,7 +51,7 @@ knowledge of the CeCILL license and that you accept its terms.
#include <H5Cpp.h>
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;