summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_str.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-06-18 20:03:30 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-06-18 20:03:30 (GMT)
commitd9a56fa9ad4a8fc82eaf7ee91863488adb5a3146 (patch)
tree27e31ca5c3273683f5d420d394f1753b65182720 /tools/lib/h5tools_str.c
parent5e7acfed72dab3bb0a653067b99b18368bdba3f3 (diff)
downloadhdf5-d9a56fa9ad4a8fc82eaf7ee91863488adb5a3146.zip
hdf5-d9a56fa9ad4a8fc82eaf7ee91863488adb5a3146.tar.gz
hdf5-d9a56fa9ad4a8fc82eaf7ee91863488adb5a3146.tar.bz2
[svn-r13874]
Changed macro names, conflict with new compiler -- changed DATASET to H5_TOOLS_DATASET -- changed DATATYPE to H5_TOOLS _DATATYPE -- changed GROUP to H5_TOOLS_GROUP In mingw's version of winsock2.h they define: typedef unsigned int GROUP; remove STORAGELAYOUT macro, it was not used tested: linux
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r--tools/lib/h5tools_str.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c
index 57758a1..d00d0e7 100644
--- a/tools/lib/h5tools_str.c
+++ b/tools/lib/h5tools_str.c
@@ -877,15 +877,15 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai
/* Print object type and close object */
switch (otype) {
case H5G_GROUP:
- h5tools_str_append(str, GROUP);
+ h5tools_str_append(str, H5_TOOLS_GROUP);
H5Gclose(obj);
break;
case H5G_DATASET:
- h5tools_str_append(str, DATASET);
+ h5tools_str_append(str, H5_TOOLS_DATASET);
H5Dclose(obj);
break;
case H5G_TYPE:
- h5tools_str_append(str, DATATYPE);
+ h5tools_str_append(str, H5_TOOLS_DATATYPE);
H5Tclose(obj);
break;
default: