summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Zdeflate.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Zdeflate.c b/src/H5Zdeflate.c
index e2a5359..16ed966 100644
--- a/src/H5Zdeflate.c
+++ b/src/H5Zdeflate.c
@@ -40,9 +40,15 @@ static intn interface_initialize_g = 0;
*-------------------------------------------------------------------------
*/
size_t
+#if defined(H5_HAVE_COMPRESS2)
+H5Z_filter_deflate (unsigned flags, size_t cd_nelmts,
+ const unsigned cd_values[], size_t nbytes,
+ size_t *buf_size, void **buf)
+#else
H5Z_filter_deflate (unsigned UNUSED flags, size_t cd_nelmts,
const unsigned cd_values[], size_t UNUSED nbytes,
size_t * UNUSED buf_size, void ** UNUSED buf)
+#endif
{
size_t ret_value = 0;
void *outbuf = NULL;