summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-10-01 20:53:54 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-10-01 20:53:54 (GMT)
commitd6acdd05ba4f9c3cdff4588ec628a3fd38f7df4a (patch)
treec9e878a70405349ac8e5ae8e9ae7fa0e38f96867 /src
parenta65e21032ff57133a04134515fe929890aa0908f (diff)
downloadhdf5-d6acdd05ba4f9c3cdff4588ec628a3fd38f7df4a.zip
hdf5-d6acdd05ba4f9c3cdff4588ec628a3fd38f7df4a.tar.gz
hdf5-d6acdd05ba4f9c3cdff4588ec628a3fd38f7df4a.tar.bz2
[svn-r1708] Turned off compression feature if zlib.h is off.
Diffstat (limited to 'src')
-rw-r--r--src/H5Z.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Z.c b/src/H5Z.c
index f5cd902..81d7584 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -15,6 +15,9 @@
#ifdef HAVE_ZLIB_H
# include <zlib.h>
+#else
+/* Make sure compression is disabled too. */
+#undef HAVE_COMPRESS2
#endif
/* Interface initialization */