summaryrefslogtreecommitdiffstats
path: root/tools/h5dumputil.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-09-29 00:31:07 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-09-29 00:31:07 (GMT)
commit21b0e20bf7f863af4d0dbdc5e59a787e9e43f5a0 (patch)
tree0f0bf3922f618ef899701e75f5eedd6212174fef /tools/h5dumputil.c
parent523f5cebb2bd446bba9b9c6e91f4335f67d90ea1 (diff)
downloadhdf5-21b0e20bf7f863af4d0dbdc5e59a787e9e43f5a0.zip
hdf5-21b0e20bf7f863af4d0dbdc5e59a787e9e43f5a0.tar.gz
hdf5-21b0e20bf7f863af4d0dbdc5e59a787e9e43f5a0.tar.bz2
[svn-r1691] Portability tweaks and warnings fixed
Diffstat (limited to 'tools/h5dumputil.c')
-rw-r--r--tools/h5dumputil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/h5dumputil.c b/tools/h5dumputil.c
index 1393db0..a88f4b2 100644
--- a/tools/h5dumputil.c
+++ b/tools/h5dumputil.c
@@ -25,8 +25,12 @@
#define H5DUMP_BUFSIZE (1024)
#endif
+#ifndef MIN
#define MIN(X,Y) ((X)<(Y)?(X):(Y))
+#endif
+#ifndef NELMTS
#define NELMTS(X) (sizeof(X)/sizeof(*X))
+#endif
#define ALIGN(A,Z) ((((A)+(Z)-1)/(Z))*(Z))