Skip to content

Commit 64dde10

Browse files
committed
Add BSD targets
1 parent 1b4715b commit 64dde10

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/sys/wait.rs

+8-3
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,20 @@ libc_bitflags!(
4848
/// process
4949
WUNTRACED,
5050
/// Waits for children that have terminated.
51-
#[cfg(any(target_os = "android", target_os = "linux"))]
51+
#[cfg(any(target_os = "android",
52+
target_os = "freebsd",
53+
target_os = "linux",
54+
target_os = "netbsd"))]
5255
WEXITED,
5356
/// Report the status of any continued child process specified by pid whose status has not
5457
/// been reported since it continued from a job control stop.
55-
#[cfg(any(target_os = "android", target_os = "linux"))]
5658
WCONTINUED,
5759
/// Leave the child in a waitable state; a later wait call can be used to again retrieve
5860
/// the child status information.
59-
#[cfg(any(target_os = "android", target_os = "linux"))]
61+
#[cfg(any(target_os = "android",
62+
target_os = "freebsd",
63+
target_os = "linux",
64+
target_os = "netbsd"))]
6065
WNOWAIT,
6166
/// Don't wait on children of other threads in this group
6267
#[cfg(any(target_os = "android", target_os = "linux"))]

0 commit comments

Comments
 (0)