Sfoglia il codice sorgente

Fix build on Windows

Chester Liu 3 anni fa
parent
commit
53cb75cf2b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);
     }