Explorar el Código

Fix build on Windows

Chester Liu hace 3 años
padre
commit
53cb75cf2b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/main.rs

+ 1 - 0
src/main.rs

@@ -49,6 +49,7 @@ mod theme;
 fn main() {
     use std::process::exit;
 
+    #[cfg(unix)]
     unsafe {
         libc::signal(libc::SIGPIPE, libc::SIG_DFL);
     }