summaryrefslogtreecommitdiffstats
path: root/test/dt_arith.c
diff options
context:
space:
mode:
authorBaljak <baljci@hotmail.com>2022-01-08 04:29:25 (GMT)
committerGitHub <noreply@github.com>2022-01-08 04:29:25 (GMT)
commit8430e3d661cdcf91ed60626e87be936a6f15afe8 (patch)
treeb220767ba4419f12052958f097c78c88a0e23990 /test/dt_arith.c
parentbf27121b5d01939c819ac8b5b96101a16175c4de (diff)
downloadhdf5-8430e3d661cdcf91ed60626e87be936a6f15afe8.zip
hdf5-8430e3d661cdcf91ed60626e87be936a6f15afe8.tar.gz
hdf5-8430e3d661cdcf91ed60626e87be936a6f15afe8.tar.bz2
Fix compilation issues with Mingw (#1342)
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 3180123..993048a 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -79,7 +79,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