summaryrefslogtreecommitdiffstats
path: root/test/use_append_chunk.c
diff options
context:
space:
mode:
authorBaljak <baljci@hotmail.com>2022-03-09 14:02:18 (GMT)
committerGitHub <noreply@github.com>2022-03-09 14:02:18 (GMT)
commit3b39164c28bc55391fe8b51b9aa094666637b5db (patch)
tree4d3c5b83b255f623e487ff73aa04b167fb8fce92 /test/use_append_chunk.c
parent50291e54d7ff62e6a6679a63234bb2b1203cd0dc (diff)
downloadhdf5-3b39164c28bc55391fe8b51b9aa094666637b5db.zip
hdf5-3b39164c28bc55391fe8b51b9aa094666637b5db.tar.gz
hdf5-3b39164c28bc55391fe8b51b9aa094666637b5db.tar.bz2
Merge Mingw build fixes from develop (#1475)
Diffstat (limited to 'test/use_append_chunk.c')
-rw-r--r--test/use_append_chunk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/use_append_chunk.c b/test/use_append_chunk.c
index 107615a..185cb26 100644
--- a/test/use_append_chunk.c
+++ b/test/use_append_chunk.c
@@ -63,7 +63,7 @@
/* This test uses many POSIX things that are not available on
* Windows.
*/
-#ifdef H5_HAVE_UNISTD_H
+#if defined(H5_HAVE_FORK) && defined(H5_HAVE_WAITPID)
#include "use.h"
@@ -270,7 +270,7 @@ done:
return (ret_value);
}
-#else /* H5_HAVE_UNISTD_H */
+#else /* defined(H5_HAVE_FORK) && defined(H5_HAVE_WAITPID) */
int
main(void)
@@ -279,4 +279,4 @@ main(void)
return EXIT_SUCCESS;
} /* end main() */
-#endif /* H5_HAVE_UNISTD_H */
+#endif /* defined(H5_HAVE_FORK) && defined(H5_HAVE_WAITPID) */