summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-07-01 23:17:24 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-07-01 23:17:24 (GMT)
commit562892e538326587c6945274c296d692090b14f9 (patch)
treeab266c103128dcd4ff11d655ab8df833a6a2ee60 /tools/lib
parent69324d9e7cccf13fb23b0db0c76130e045920ee6 (diff)
downloadhdf5-562892e538326587c6945274c296d692090b14f9.zip
hdf5-562892e538326587c6945274c296d692090b14f9.tar.gz
hdf5-562892e538326587c6945274c296d692090b14f9.tar.bz2
[svn-r23855] I added macro condition for OpenVMS in the hard-coded initialization of h5tools_dataformat.
Tested on jam and OpenVMS - simple change.
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5tools_dump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index 7034ff3..f2376ed 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -36,7 +36,11 @@ h5tool_format_t h5tools_dataformat = {
"", /*fmt_raw */
"%d", /*fmt_int */
"%u", /*fmt_uint */
+#ifdef H5_VMS
+"%hd", /*fmt_schar */
+#else
"%hhd", /*fmt_schar */
+#endif
"%u", /*fmt_uchar */
"%d", /*fmt_short */
"%u", /*fmt_ushort */