From 1390af65430db42524e9b612a4d2a5027c445f2d Mon Sep 17 00:00:00 2001 From: Liam Gray Date: Wed, 7 Aug 2024 16:37:35 -0700 Subject: [PATCH] fix(lzf_filter.c): fix H5Z_class_t definition for newer hdf5 api --- lzf/lzf_filter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lzf/lzf_filter.c b/lzf/lzf_filter.c index c6dd4b0e..33862a8b 100644 --- a/lzf/lzf_filter.c +++ b/lzf/lzf_filter.c @@ -53,6 +53,8 @@ #if H5_VERS_MAJOR == 1 && H5_VERS_MINOR == 8 && (H5_VERS_RELEASE < 3 || !H5_USE_16_API) #define H5PY_H5Z_NEWCLS 1 +#elif H5_VERS_MAJOR == 1 && H5_VERS_MINOR > 8 +#define H5PY_H5Z_NEWCLS 1 #else #define H5PY_H5Z_NEWCLS 0 #endif