summaryrefslogtreecommitdiffstats
path: root/perform/pio_perf.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-11-15 22:46:32 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-11-15 22:46:32 (GMT)
commitaf35ac0ec1aa4ca7ec31ae58cf8e47b620f54062 (patch)
treea6fe604e17deeea9c5844dd8e950ca7739dba813 /perform/pio_perf.h
parent5077ac0c90290efc9611fcfca7c689f9b66b6d0d (diff)
downloadhdf5-af35ac0ec1aa4ca7ec31ae58cf8e47b620f54062.zip
hdf5-af35ac0ec1aa4ca7ec31ae58cf8e47b620f54062.tar.gz
hdf5-af35ac0ec1aa4ca7ec31ae58cf8e47b620f54062.tar.bz2
[svn-r4608]
Purpose: bug Fix Description: Changed the code so that if parallel stuff isn't enabled, then we don't compile the parallel code. Solution: Cleaned up the code and put #ifdef's around it checking for parallel flags. Platforms tested: Linux
Diffstat (limited to 'perform/pio_perf.h')
-rw-r--r--perform/pio_perf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/perform/pio_perf.h b/perform/pio_perf.h
index 8f21df2..6386ec4 100644
--- a/perform/pio_perf.h
+++ b/perform/pio_perf.h
@@ -23,4 +23,12 @@ typedef struct parameters_ {
unsigned int num_iters; /* Number of times to loop doing the IO */
} parameters;
+#ifndef SUCCESS
+#define SUCCESS 0
+#endif /* !SUCCESS */
+
+#ifndef FAIL
+#define FAIL -1
+#endif /* !FAIL */
+
#endif /* PIO_PERF_H__ */