diff options
author | Albert Cheng <acheng@hdfgroup.org> | 1999-10-01 20:53:54 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 1999-10-01 20:53:54 (GMT) |
commit | 9eb5c310a0cfbd0092529aea3b7b34c29ecb9b65 (patch) | |
tree | 1bbe52bcb734312a7944169b03324b434940d7a8 /src | |
parent | a9b3674f9759f0132fe006c5d3df89b917739e8e (diff) | |
download | hdf5-9eb5c310a0cfbd0092529aea3b7b34c29ecb9b65.zip hdf5-9eb5c310a0cfbd0092529aea3b7b34c29ecb9b65.tar.gz hdf5-9eb5c310a0cfbd0092529aea3b7b34c29ecb9b65.tar.bz2 |
[svn-r1708] Turned off compression feature if zlib.h is off.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Zdeflate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Zdeflate.c b/src/H5Zdeflate.c index 1d3928a..a764c4b 100644 --- a/src/H5Zdeflate.c +++ b/src/H5Zdeflate.c @@ -12,6 +12,9 @@ #ifdef HAVE_ZLIB_H # include <zlib.h> +#else +/* Make sure compression is disabled too. */ +#undef HAVE_COMPRESS2 #endif /* Interface initialization */ |