summaryrefslogtreecommitdiffstats
path: root/hl/c++
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-24 12:49:39 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2020-04-27 16:05:38 (GMT)
commit2956151239dba57386b4fc25c659933f42688e4b (patch)
tree36158a19ddcf7eb5636da5f85e1615187e1c9134 /hl/c++
parentf965a24db12e6eee42e214742ddc7eb374eee06c (diff)
downloadhdf5-2956151239dba57386b4fc25c659933f42688e4b.zip
hdf5-2956151239dba57386b4fc25c659933f42688e4b.tar.gz
hdf5-2956151239dba57386b4fc25c659933f42688e4b.tar.bz2
Fix NoFilter build
Diffstat (limited to 'hl/c++')
-rw-r--r--hl/c++/test/ptableTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/c++/test/ptableTest.cpp b/hl/c++/test/ptableTest.cpp
index fd85828..52f3a6b 100644
--- a/hl/c++/test/ptableTest.cpp
+++ b/hl/c++/test/ptableTest.cpp
@@ -267,13 +267,13 @@ error:
const char* COMPRESS_PT("/compressTest");
int TestCompress()
{
+#ifdef H5_HAVE_FILTER_DEFLATE
unsigned int flags = 0;
unsigned int config = 0;
size_t cd_nelemts = 0;
printf("Testing %-62s", "compression");
HDfflush(stdout);
-#ifdef H5_HAVE_FILTER_DEFLATE
try {
/* Prepare property list to set compression, randomly use deflate */
DSetCreatPropList dscreatplist;