summaryrefslogtreecommitdiffstats
path: root/perform/zip_perf.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-06-11 16:24:16 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-06-11 16:24:16 (GMT)
commit1721bcdbb5bedda1b31b76afb2429e3daa3aba15 (patch)
treebc1d55b5fe8bcb927f42e09f0858d38e77259940 /perform/zip_perf.c
parent33a1bc03c43c68a95b301d8315a15fa7775851e4 (diff)
downloadhdf5-1721bcdbb5bedda1b31b76afb2429e3daa3aba15.zip
hdf5-1721bcdbb5bedda1b31b76afb2429e3daa3aba15.tar.gz
hdf5-1721bcdbb5bedda1b31b76afb2429e3daa3aba15.tar.bz2
[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.
Diffstat (limited to 'perform/zip_perf.c')
-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) */