summaryrefslogtreecommitdiffstats
path: root/test/dt_arith.c
diff options
context:
space:
mode:
authorBaljak <baljci@hotmail.com>2022-03-10 16:30:20 (GMT)
committerGitHub <noreply@github.com>2022-03-10 16:30:20 (GMT)
commit9db509762220d661904b5b902aea25cdfaf07b4c (patch)
treea7ad917ff4034e588800e4c6e30c02cba7ceb038 /test/dt_arith.c
parentfd07c2038eaf45a2cc218fa095c37201388b959b (diff)
downloadhdf5-9db509762220d661904b5b902aea25cdfaf07b4c.zip
hdf5-9db509762220d661904b5b902aea25cdfaf07b4c.tar.gz
hdf5-9db509762220d661904b5b902aea25cdfaf07b4c.tar.bz2
Merge Mingw fixes from develop (#1477)
Diffstat (limited to 'test/dt_arith.c')
-rw-r--r--test/dt_arith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index 91e31d5..d5653ad 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -81,7 +81,7 @@ typedef enum dtype_t {
* be allowed to continue (cf. Posix signals) so in order to recover from a
* SIGFPE we run tests that might generate one in a child process.
*/
-#ifdef H5_HAVE_UNISTD_H
+#if defined(H5_HAVE_FORK) && defined(H5_HAVE_WAITPID)
#define HANDLE_SIGFPE
#endif