summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-24 12:49:39 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-24 12:49:39 (GMT)
commit7f44915b442b4d65ccf2f78dae3c1f7224658bea (patch)
treef15b08ff942f2d3fd194dbff9c37c41f01c371d3 /hl
parente52b54702de8fe36c72b57f3f9dfc6157aa7dbca (diff)
downloadhdf5-7f44915b442b4d65ccf2f78dae3c1f7224658bea.zip
hdf5-7f44915b442b4d65ccf2f78dae3c1f7224658bea.tar.gz
hdf5-7f44915b442b4d65ccf2f78dae3c1f7224658bea.tar.bz2
Fix NoFilter build
Diffstat (limited to 'hl')
-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;