diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-11-13 21:45:46 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-11-13 21:45:46 (GMT) |
commit | f6a92e75600be0b77306893034a8d3982f91ff20 (patch) | |
tree | d3ca474ae5fa490e4669e797ae0e1452a4aa9e38 | |
parent | fce9bef52dac009cce69582d147e3d142776f6fe (diff) | |
download | hdf5-f6a92e75600be0b77306893034a8d3982f91ff20.zip hdf5-f6a92e75600be0b77306893034a8d3982f91ff20.tar.gz hdf5-f6a92e75600be0b77306893034a8d3982f91ff20.tar.bz2 |
[svn-r2890] Purpose:
Redo of a patch
Description:
As Quincey pointed out, the parameters are only ``UNUSED'' if we
can't find libz.a.
Solution:
I changed it to conditionally put the UNUSED in there...
Platforms tested:
Linux
-rw-r--r-- | src/H5Zdeflate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Zdeflate.c b/src/H5Zdeflate.c index e2a5359..16ed966 100644 --- a/src/H5Zdeflate.c +++ b/src/H5Zdeflate.c @@ -40,9 +40,15 @@ static intn interface_initialize_g = 0; *------------------------------------------------------------------------- */ size_t +#if defined(H5_HAVE_COMPRESS2) +H5Z_filter_deflate (unsigned flags, size_t cd_nelmts, + const unsigned cd_values[], size_t nbytes, + size_t *buf_size, void **buf) +#else H5Z_filter_deflate (unsigned UNUSED flags, size_t cd_nelmts, const unsigned cd_values[], size_t UNUSED nbytes, size_t * UNUSED buf_size, void ** UNUSED buf) +#endif { size_t ret_value = 0; void *outbuf = NULL; |