summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/h5dump/h5dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index d13de09..75bd162 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -2731,8 +2731,10 @@ dump_fcpl(hid_t fid)
if (H5FD_CORE==fdriver)
HDstrcpy(dname,"H5FD_CORE");
+#ifdef H5_HAVE_DIRECT
else if (H5FD_DIRECT==fdriver)
HDstrcpy(dname,"H5FD_DIRECT");
+#endif
else if (H5FD_FAMILY==fdriver)
HDstrcpy(dname,"H5FD_FAMILY");
else if (H5FD_LOG==fdriver)