Explorar o código

Fix build on Windows

Chester Liu %!s(int64=3) %!d(string=hai) anos
pai
achega
53cb75cf2b
Modificáronse 1 ficheiros con 1 adicións e 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);
     }