summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-10-11 21:57:18 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-10-11 21:57:18 (GMT)
commitc69d0bd40b1661eac14106ef142a615d04b1c4e7 (patch)
treec29e5d1587b7299efd82847eb677739f71e87b7a
parentc0712895d2f64a6294dd76b8ca021f8eb68d4d58 (diff)
downloadhdf5-c69d0bd40b1661eac14106ef142a615d04b1c4e7.zip
hdf5-c69d0bd40b1661eac14106ef142a615d04b1c4e7.tar.gz
hdf5-c69d0bd40b1661eac14106ef142a615d04b1c4e7.tar.bz2
[svn-r12747] Added a condition check to see if Direct I/o is enabled.
-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)