summaryrefslogtreecommitdiffstats
path: root/tools/h5repart.c
diff options
context:
space:
mode:
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
/*-------------------------------------------------------------------------