Skip to content

Commit 9f7b63f

Browse files
committed
Fix the value of SA_ONSTACK
1 parent 60b8b39 commit 9f7b63f

File tree

1 file changed

+1
-1
lines changed
  • src/unix/linux_like/linux/musl/b32/riscv32

1 file changed

+1
-1
lines changed

src/unix/linux_like/linux/musl/b32/riscv32/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ pub const ERFKILL: c_int = 132;
208208

209209
pub const SOCK_STREAM: c_int = 1;
210210
pub const SOCK_DGRAM: c_int = 2;
211-
pub const SA_ONSTACK: c_int = 8;
211+
pub const SA_ONSTACK: c_int = 0x08000000;
212212
pub const SA_SIGINFO: c_int = 4;
213213
pub const SA_NOCLDWAIT: c_int = 2;
214214
pub const SIGTTIN: c_int = 21;

0 commit comments

Comments
 (0)