summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-04-01 03:29:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-04-01 03:29:33 (GMT)
commit59f299b826bca122e94b4b325f0bccb03a2c3bd2 (patch)
treef8eb1d80180d812d3f168e31db11945f0013b420 /test/dtypes.c
parent4650caa3a614a291936be3ac668dbc1baecb0c79 (diff)
downloadhdf5-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/dtypes.c')
-rw-r--r--test/dtypes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 5cfb08b..872e102 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -3231,7 +3231,9 @@ test_conv_flt_1 (const char *name, hid_t src, hid_t dst)
* The remainder of this function is executed only by the child if
* HANDLE_SIGFPE is defined.
*/
+#ifndef __WATCOMC__
signal(SIGFPE,fpe_handler);
+#endif
/* What are the names of the source and destination types */
if (H5Tequal(src, H5T_NATIVE_FLOAT)) {