summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-07-08 18:41:04 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-07-08 18:41:04 (GMT)
commit768b7465a19afcbc87ba54a7b6400492d54c2626 (patch)
tree67d1e32adcfdbf0905189ff3ca1d60c2c40a6b1a /src
parent1ce18a997166808519476b505f5bb0c4f34e1ea0 (diff)
downloadhdf5-768b7465a19afcbc87ba54a7b6400492d54c2626.zip
hdf5-768b7465a19afcbc87ba54a7b6400492d54c2626.tar.gz
hdf5-768b7465a19afcbc87ba54a7b6400492d54c2626.tar.bz2
[svn-r471] Changes since 19980708
---------------------- ./MANIFEST Alphabetized. `d' comes before `e' :-) ./bin/release Added the `-batch' option which causes the script to not ask questions and to automatically update the minor version number and set the patch level back to `a'. This is intended to be used for the daily snapshots: #! /bin/sh set -e cd ~/hdf5 make distclean make test bin/release -batch tar compress gzip bzip2 mv ./releases/* /repository ./src/H5Z.c Removed warnings about unused variables when the zlib.h header file is present but libz.a isn't. ./INSTALL ./configure.in ./doc/html/tracing.html Made API tracing the default (you still need to define the HDF5_TRACE environment variable to get results) and change the name from `--disable-tracing' to `--disable-trace' to make it consistent with the other switches. Changed `site config file' to `host config file' to match the documentation. ./doc/html/H5.user.html Added a reference to the `tracing.html' file.
Diffstat (limited to 'src')
-rw-r--r--src/H5Z.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Z.c b/src/H5Z.c
index c4f6a5f..386ea59 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -416,7 +416,7 @@ H5Z_zlib_c (unsigned int flags, size_t __unused__ cd_size,
const void *src, size_t dst_nbytes, void *dst/*out*/)
{
size_t ret_value = 0;
-#ifdef HAVE_ZLIB_H
+#if defined(HAVE_LIBZ) && defined(HAVE_ZLIB_H)
const Bytef *z_src = (const Bytef*)src;
Bytef *z_dst = (Bytef*)dst;
uLongf z_dst_nbytes = (uLongf)dst_nbytes;