FreeBSD has pipe2, so enable it in forkfd.c
Change-Id: Ib056b47dde3341ef9a52ffff13efd1a15748e44d Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
This commit is contained in:
parent
84e1bb4951
commit
007ad9e859
4
src/3rdparty/forkfd/forkfd.c
vendored
4
src/3rdparty/forkfd/forkfd.c
vendored
@ -59,6 +59,10 @@
|
||||
# define HAVE_WAITID 1
|
||||
#endif
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
# define HAVE_PIPE2 1
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
/* Up until OS X 10.7, waitid(P_ALL, ...) will return success, but will not
|
||||
* fill in the details of the dead child. That means waitid is not useful to us.
|
||||
|
Loading…
Reference in New Issue
Block a user