diff options
Diffstat (limited to 'test/overhead.c')
-rw-r--r-- | test/overhead.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/overhead.c b/test/overhead.c index 3e2d5fc..0480a73 100644 --- a/test/overhead.c +++ b/test/overhead.c @@ -207,7 +207,10 @@ test(fill_t fill_style, const double splits[], if ((mspace=H5Screate_simple(1, ch_size, ch_size))<0) goto error; if ((dset=H5Dcreate(file, "chunked", H5T_NATIVE_INT, fspace, dcpl))<0) goto error; + +#if !defined( __MWERKS__) if ((fd=open(FILE_NAME_1, O_RDONLY))<0) goto error; +#endif for (i=1; i<=cur_size[0]; i++) { @@ -242,6 +245,10 @@ test(fill_t fill_style, const double splits[], goto error; } +#if defined( __MWERKS__) + if ((fd=open(FILE_NAME_1, O_RDONLY))<0) goto error; +#endif + /* Determine overhead */ if (verbose) { if (H5Fflush(file, H5F_SCOPE_LOCAL)<0) goto error; |