Attempt to fix version detection
This commit is contained in:
parent
b24177484e
commit
e0ce86ae18
@ -51,7 +51,7 @@ knowledge of the CeCILL license and that you accept its terms.
|
|||||||
#include <H5Cpp.h>
|
#include <H5Cpp.h>
|
||||||
|
|
||||||
namespace CosmoTool {
|
namespace CosmoTool {
|
||||||
#if (H5_VERS_MAJOR == 1) && (H5_VERS_MINOR <= 8)
|
#if H5_VERSION_GE(1,10,0)
|
||||||
typedef H5::CommonFG H5_CommonFileGroup;
|
typedef H5::CommonFG H5_CommonFileGroup;
|
||||||
#else
|
#else
|
||||||
typedef H5::Group H5_CommonFileGroup;
|
typedef H5::Group H5_CommonFileGroup;
|
||||||
|
Loading…
Reference in New Issue
Block a user