summaryrefslogtreecommitdiffstats
path: root/tools/h5repart.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/h5repart.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/h5repart.c')
-rw-r--r--tools/h5repart.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/h5repart.c b/tools/h5repart.c
index 0a89143..077ca73 100644
--- a/tools/h5repart.c
+++ b/tools/h5repart.c
@@ -32,13 +32,21 @@
# include <sys/stat.h>
#endif
+#ifndef FALSE
#define FALSE 0
+#endif
+#ifndef TRUE
#define TRUE 1
+#endif
#define NAMELEN 4096
#define GB *1024*1024*1024
+#ifndef MIN
#define MIN(X,Y) ((X)<(Y)?(X):(Y))
+#endif
+#ifndef MIN3
#define MIN3(X,Y,Z) MIN(MIN(X,Y),Z)
+#endif
/*-------------------------------------------------------------------------