Do not compile signal_hook on Windows

This commit is contained in:
Alexander Gavrilov 2018-10-18 07:52:38 -07:00
parent 44ddfc7abf
commit a5e9f890d0

View File

@ -16,6 +16,8 @@ use self::termion::screen::AlternateScreen;
use self::termion::style as tstyle; use self::termion::style as tstyle;
use crossbeam_channel::{self, Receiver, Sender}; use crossbeam_channel::{self, Receiver, Sender};
use libc; use libc;
#[cfg(unix)]
use signal_hook::iterator::Signals; use signal_hook::iterator::Signals;
use backend; use backend;