From a5e9f890d0bee6ccb2a8ce5d4c3a28b80986fa79 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Thu, 18 Oct 2018 07:52:38 -0700 Subject: [PATCH] Do not compile signal_hook on Windows --- src/backend/termion.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/termion.rs b/src/backend/termion.rs index 4b028fb..f0c6186 100644 --- a/src/backend/termion.rs +++ b/src/backend/termion.rs @@ -16,6 +16,8 @@ use self::termion::screen::AlternateScreen; use self::termion::style as tstyle; use crossbeam_channel::{self, Receiver, Sender}; use libc; + +#[cfg(unix)] use signal_hook::iterator::Signals; use backend;