summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
Diffstat (limited to 'perform')
-rw-r--r--perform/zip_perf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perform/zip_perf.c b/perform/zip_perf.c
index dd4b728..f5d410c 100644
--- a/perform/zip_perf.c
+++ b/perform/zip_perf.c
@@ -28,7 +28,7 @@
#include "hdf5.h"
#include "h5tools_utils.h"
-#ifdef H5_HAVE_ZLIB_H
+#if !(defined(H5_HAVE_COMPRESS2) && defined(H5_HAVE_ZLIB_H) && defined(H5_HAVE_LIBZ))
#include <zlib.h>
@@ -560,4 +560,4 @@ main(void)
return EXIT_SUCCESS;
}
-#endif /* H5_HAVE_ZLIB_H */
+#endif /* !(H5_HAVE_COMPRESS2 && H5_HAVE_ZLIB_H && H5_HAVE_LIBZ) */