Skip to content

Commit

Permalink
signal: uclibc use c_uint type
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaobo Liu <[email protected]>
  • Loading branch information
cppcoffee committed Sep 17, 2024
1 parent 062211b commit 9673ec0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sys/signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ pub const SIGUNUSED : Signal = SIGSYS;
cfg_if! {
if #[cfg(target_os = "redox")] {
type SaFlags_t = libc::c_ulong;
} else if #[cfg(all(target_env = "uclibc", target_arch = "mips"))] {
type SaFlags_t = libc::c_uint;
} else if #[cfg(target_env = "uclibc")] {
type SaFlags_t = libc::c_ulong;
} else {
Expand Down

0 comments on commit 9673ec0

Please sign in to comment.