diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-09-29 00:31:07 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-09-29 00:31:07 (GMT) |
commit | 21b0e20bf7f863af4d0dbdc5e59a787e9e43f5a0 (patch) | |
tree | 0f0bf3922f618ef899701e75f5eedd6212174fef /tools/h5dumputil.c | |
parent | 523f5cebb2bd446bba9b9c6e91f4335f67d90ea1 (diff) | |
download | hdf5-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.c | 4 |
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)) |