Skip to content

Commit 9673ec0

Browse files
committed
signal: uclibc use c_uint type
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
1 parent 062211b commit 9673ec0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sys/signal.rs

+2
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,8 @@ pub const SIGUNUSED : Signal = SIGSYS;
413413
cfg_if! {
414414
if #[cfg(target_os = "redox")] {
415415
type SaFlags_t = libc::c_ulong;
416+
} else if #[cfg(all(target_env = "uclibc", target_arch = "mips"))] {
417+
type SaFlags_t = libc::c_uint;
416418
} else if #[cfg(target_env = "uclibc")] {
417419
type SaFlags_t = libc::c_ulong;
418420
} else {

0 commit comments

Comments
 (0)