summaryrefslogtreecommitdiffstats
path: root/test/overhead.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-07 16:03:02 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-07 16:03:02 (GMT)
commit504bc34f6015d2c4df03b024c95cdbbab71cbd5f (patch)
treeacb62b5417ce2d5ef9f1209a5a7ac7945eea7e45 /test/overhead.c
parent80737b93ef4425801da0f24b592e9b1bb3e3bca9 (diff)
downloadhdf5-504bc34f6015d2c4df03b024c95cdbbab71cbd5f.zip
hdf5-504bc34f6015d2c4df03b024c95cdbbab71cbd5f.tar.gz
hdf5-504bc34f6015d2c4df03b024c95cdbbab71cbd5f.tar.bz2
[svn-r3974] code warrior port
Diffstat (limited to 'test/overhead.c')
-rw-r--r--test/overhead.c7
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;