diff --git a/Source/H5Support/H5Utilities.h b/Source/H5Support/H5Utilities.h index de53607..384d78f 100644 --- a/Source/H5Support/H5Utilities.h +++ b/Source/H5Support/H5Utilities.h @@ -55,15 +55,24 @@ #endif #if(H5_VERS_MINOR == 10) -#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V18 -#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V18 +#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V110 +#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V110 #endif #if(H5_VERS_MINOR == 12) -#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V18 +#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V110 #define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V18 #endif +#if(H5_VERS_MINOR == 14) +#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V110 +#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V110 +#endif + +#ifndef HDF5_VERSION_LIB_LOWER_BOUNDS +#error HDF5_VERSION_LIB_LOWER_BOUNDS is not defined. Please check the version of HDF5 that you are compiling against +#endif + namespace H5Support { #define ENABLE_BITMASK_OPERATORS(x) \