diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-11-15 22:46:32 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-11-15 22:46:32 (GMT) |
commit | af35ac0ec1aa4ca7ec31ae58cf8e47b620f54062 (patch) | |
tree | a6fe604e17deeea9c5844dd8e950ca7739dba813 /perform/pio_perf.h | |
parent | 5077ac0c90290efc9611fcfca7c689f9b66b6d0d (diff) | |
download | hdf5-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.h | 8 |
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__ */ |