Fix build on Windows

This commit is contained in:
Chester Liu 2022-05-06 13:26:19 +08:00
parent d6732aea10
commit 53cb75cf2b

View File

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