From 1721bcdbb5bedda1b31b76afb2429e3daa3aba15 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 11 Jun 2002 11:24:16 -0500 Subject: [svn-r5587] Purpose: Bug Fix take 2 Description: The check for ZLIB_H wasn't sufficient. Solution: Used the test for compression stuff that was in the test/dsets.c file. --- perform/zip_perf.c | 4 ++-- 1 file 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 @@ -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) */ -- cgit v0.12