diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-04-01 03:29:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-04-01 03:29:33 (GMT) |
commit | 59f299b826bca122e94b4b325f0bccb03a2c3bd2 (patch) | |
tree | f8eb1d80180d812d3f168e31db11945f0013b420 /test/iopipe.c | |
parent | 4650caa3a614a291936be3ac668dbc1baecb0c79 (diff) | |
download | hdf5-59f299b826bca122e94b4b325f0bccb03a2c3bd2.zip hdf5-59f299b826bca122e94b4b325f0bccb03a2c3bd2.tar.gz hdf5-59f299b826bca122e94b4b325f0bccb03a2c3bd2.tar.bz2 |
[svn-r3747] Purpose:
Portability tweaks
Description:
Certain features (signal for FPE, some assertions, etc) used in testing
are not available in certain non-UNIX platforms.
Solution:
Ifdef'd out the test code on the platforms which don't have that support.
Platforms tested:
FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'test/iopipe.c')
-rw-r--r-- | test/iopipe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/iopipe.c b/test/iopipe.c index d359ed8..152626e 100644 --- a/test/iopipe.c +++ b/test/iopipe.c @@ -151,7 +151,11 @@ synchronize (void) { #ifdef H5_HAVE_SYSTEM #ifdef WIN32 +#ifdef __WATCOMC__ + flushall(); +#else /* __WATCOMC__ */ _flushall(); +#endif /* __WATCOMC__ */ #else system ("sync"); system ("df >/dev/null"); |