changing USE_NETCDF4 to USE_HDF5 in dfilter.c
#include "netcdf.h"
#include "netcdf_filter.h"
-#ifdef USE_NETCDF4
+#ifdef USE_HDF5
#include "hdf5internal.h"
#endif
@@ -278,7 +278,7 @@ nc_filter_register(NC_FILTER_INFO* filter)
return NC_EINVAL;
switch (filter->format) {
case NC_FILTER_FORMAT_HDF5:
-#ifdef USE_NETCDF4
+#ifdef USE_HDF5
stat = nc4_filter_action(FILTER_REG, filter->format, filter->id, filter);
#else
stat = NC_ENOTBUILT;
@@ -296,7 +296,7 @@ nc_filter_unregister(int fformat, int id)
int stat = NC_NOERR;
switch (fformat) {
case NC_FILTER_FORMAT_HDF5:
-#ifdef USE_NETCDF4
+#ifdef USE_HDF5
stat = nc4_filter_action(FILTER_UNREG, fformat, id, NULL);
#else
stat = NC_ENOTBUILT;
@@ -314,7 +314,7 @@ nc_filter_inq(int fformat, int id, NC_FILTER_INFO* filter_info)
int stat = NC_NOERR;
switch (fformat) {
case NC_FILTER_FORMAT_HDF5:
-#ifdef USE_NETCDF4
+#ifdef USE_HDF5
stat = nc4_filter_action(FILTER_INQ, fformat, id, filter_info);
#else
stat = NC_ENOTBUILT;
