diff --git a/src/unix/notbsd/android/b32/mod.rs b/src/unix/notbsd/android/b32/mod.rs index 5a3e6447a9e5d65637a6a5c3ac8d2ce2002b8e25..1cc59676f900417c336bcb7594166eb80b40e495 100644 --- a/src/unix/notbsd/android/b32/mod.rs +++ b/src/unix/notbsd/android/b32/mod.rs @@ -162,13 +162,13 @@ s! { } // These constants must be of the same type of sigaction.sa_flags -pub const SA_NOCLDSTOP: ::c_ulong = 0x00000001; -pub const SA_NOCLDWAIT: ::c_ulong = 0x00000002; -pub const SA_NODEFER: ::c_ulong = 0x40000000; -pub const SA_ONSTACK: ::c_ulong = 0x08000000; -pub const SA_RESETHAND: ::c_ulong = 0x80000000; -pub const SA_RESTART: ::c_ulong = 0x10000000; -pub const SA_SIGINFO: ::c_ulong = 0x00000004; +pub const SA_NOCLDSTOP: ::c_int = 0x00000001; +pub const SA_NOCLDWAIT: ::c_int = 0x00000002; +pub const SA_NODEFER: ::c_int = 0x40000000; +pub const SA_ONSTACK: ::c_int = 0x08000000; +pub const SA_RESETHAND: ::c_int = 0x80000000; +pub const SA_RESTART: ::c_int = 0x10000000; +pub const SA_SIGINFO: ::c_int = 0x00000004; pub const RTLD_GLOBAL: ::c_int = 2; pub const RTLD_NOW: ::c_int = 0; diff --git a/src/unix/notbsd/android/b64/mod.rs b/src/unix/notbsd/android/b64/mod.rs index 19ebe0871b7f6ae313454e30332b81a832ca8f11..2b69512b93bb6b041b305d4929215f63f942c59a 100644 --- a/src/unix/notbsd/android/b64/mod.rs +++ b/src/unix/notbsd/android/b64/mod.rs @@ -232,13 +232,13 @@ cfg_if! { } // These constants must be of the same type of sigaction.sa_flags -pub const SA_NOCLDSTOP: ::c_uint = 0x00000001; -pub const SA_NOCLDWAIT: ::c_uint = 0x00000002; -pub const SA_NODEFER: ::c_uint = 0x40000000; -pub const SA_ONSTACK: ::c_uint = 0x08000000; -pub const SA_RESETHAND: ::c_uint = 0x80000000; -pub const SA_RESTART: ::c_uint = 0x10000000; -pub const SA_SIGINFO: ::c_uint = 0x00000004; +pub const SA_NOCLDSTOP: ::c_int = 0x00000001; +pub const SA_NOCLDWAIT: ::c_int = 0x00000002; +pub const SA_NODEFER: ::c_int = 0x40000000; +pub const SA_ONSTACK: ::c_int = 0x08000000; +pub const SA_RESETHAND: ::c_int = 0x80000000; +pub const SA_RESTART: ::c_int = 0x10000000; +pub const SA_SIGINFO: ::c_int = 0x00000004; pub const RTLD_GLOBAL: ::c_int = 0x00100; pub const RTLD_NOW: ::c_int = 2;