Skip to content

Commit aa60501

Browse files
committed
signal
1 parent 620f558 commit aa60501

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

vm/src/stdlib/signal.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ pub(crate) mod _signal {
3434

3535
#[cfg(unix)]
3636
pub use nix::unistd::alarm as sig_alarm;
37-
38-
#[cfg(not(windows))]
37+
#[cfg(unix)]
3938
pub use libc::SIG_ERR;
4039

41-
#[cfg(not(windows))]
40+
#[cfg(unix)]
4241
#[pyattr]
4342
pub use libc::{SIG_DFL, SIG_IGN};
4443

0 commit comments

Comments
 (0)