summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Zdeflate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Zdeflate.c b/src/H5Zdeflate.c
index 1d3928a..a764c4b 100644
--- a/src/H5Zdeflate.c
+++ b/src/H5Zdeflate.c
@@ -12,6 +12,9 @@
#ifdef HAVE_ZLIB_H
# include <zlib.h>
+#else
+/* Make sure compression is disabled too. */
+#undef HAVE_COMPRESS2
#endif
/* Interface initialization */