Skip to content
Snippets Groups Projects
Commit 45c84a07 authored by alesharikReserv@yandex.ru's avatar alesharikReserv@yandex.ru
Browse files

Fix SA_* constants for `sigaction` in Android

parent 1059e0bd
No related branches found
No related tags found
No related merge requests found
...@@ -162,13 +162,13 @@ s! { ...@@ -162,13 +162,13 @@ s! {
} }
// These constants must be of the same type of sigaction.sa_flags // These constants must be of the same type of sigaction.sa_flags
pub const SA_NOCLDSTOP: ::c_ulong = 0x00000001; pub const SA_NOCLDSTOP: ::c_int = 0x00000001;
pub const SA_NOCLDWAIT: ::c_ulong = 0x00000002; pub const SA_NOCLDWAIT: ::c_int = 0x00000002;
pub const SA_NODEFER: ::c_ulong = 0x40000000; pub const SA_NODEFER: ::c_int = 0x40000000;
pub const SA_ONSTACK: ::c_ulong = 0x08000000; pub const SA_ONSTACK: ::c_int = 0x08000000;
pub const SA_RESETHAND: ::c_ulong = 0x80000000; pub const SA_RESETHAND: ::c_int = 0x80000000;
pub const SA_RESTART: ::c_ulong = 0x10000000; pub const SA_RESTART: ::c_int = 0x10000000;
pub const SA_SIGINFO: ::c_ulong = 0x00000004; pub const SA_SIGINFO: ::c_int = 0x00000004;
pub const RTLD_GLOBAL: ::c_int = 2; pub const RTLD_GLOBAL: ::c_int = 2;
pub const RTLD_NOW: ::c_int = 0; pub const RTLD_NOW: ::c_int = 0;
......
...@@ -232,13 +232,13 @@ cfg_if! { ...@@ -232,13 +232,13 @@ cfg_if! {
} }
// These constants must be of the same type of sigaction.sa_flags // These constants must be of the same type of sigaction.sa_flags
pub const SA_NOCLDSTOP: ::c_uint = 0x00000001; pub const SA_NOCLDSTOP: ::c_int = 0x00000001;
pub const SA_NOCLDWAIT: ::c_uint = 0x00000002; pub const SA_NOCLDWAIT: ::c_int = 0x00000002;
pub const SA_NODEFER: ::c_uint = 0x40000000; pub const SA_NODEFER: ::c_int = 0x40000000;
pub const SA_ONSTACK: ::c_uint = 0x08000000; pub const SA_ONSTACK: ::c_int = 0x08000000;
pub const SA_RESETHAND: ::c_uint = 0x80000000; pub const SA_RESETHAND: ::c_int = 0x80000000;
pub const SA_RESTART: ::c_uint = 0x10000000; pub const SA_RESTART: ::c_int = 0x10000000;
pub const SA_SIGINFO: ::c_uint = 0x00000004; pub const SA_SIGINFO: ::c_int = 0x00000004;
pub const RTLD_GLOBAL: ::c_int = 0x00100; pub const RTLD_GLOBAL: ::c_int = 0x00100;
pub const RTLD_NOW: ::c_int = 2; pub const RTLD_NOW: ::c_int = 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment