Skip to content

Commit 3b8f268

Browse files
committed
platform/windows: fix some compilation errors
1 parent 0642738 commit 3b8f268

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

platform/src/family/windows/libs.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
use std::ffi::c_void;
1+
use crate::libs::{Error, Result};
2+
3+
use std::ffi::{CStr, c_void};
24
use std::marker::PhantomData;
35

46
pub struct LibraryImpl {}

platform/src/family/windows/signals.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ impl crate::SignalOsExt for crate::Signal {
3232
"SEGV" => Some(Self(libc::SIGSEGV)),
3333
"INT" => Some(Self(libc::SIGINT)),
3434
"TERM" => Some(Self(libc::SIGTERM)),
35-
"BREAK" => Some(Self(libc::SIGBREAK)),
35+
// TODO: SIGBREAK
36+
// "BREAK" => Some(Self(libc::SIGBREAK)),
3637
"ILL" => Some(Self(libc::SIGILL)),
3738
_ => None,
3839
}

0 commit comments

Comments
 (0)