@@ -23,10 +23,14 @@ pub const ECOMM: ::c_int = 70;
23
23
pub const EPROTO : :: c_int = 71 ;
24
24
pub const EDOTDOT : :: c_int = 73 ;
25
25
26
- pub const SA_NODEFER : :: c_int = 0x40000000 ;
27
- pub const SA_RESETHAND : :: c_int = 0x80000000 ;
28
- pub const SA_RESTART : :: c_int = 0x10000000 ;
29
- pub const SA_NOCLDSTOP : :: c_int = 0x00000001 ;
26
+ #[ deprecated( since = "0.2.143" , note = "Use c_ulong instead." ) ]
27
+ pub const SA_NODEFER : :: c_ulong = 0x40000000 ;
28
+ #[ deprecated( since = "0.2.143" , note = "Use c_ulong instead." ) ]
29
+ pub const SA_RESETHAND : :: c_ulong = 0x80000000 ;
30
+ #[ deprecated( since = "0.2.143" , note = "Use c_ulong instead." ) ]
31
+ pub const SA_RESTART : :: c_ulong = 0x10000000 ;
32
+ #[ deprecated( since = "0.2.143" , note = "Use c_ulong instead." ) ]
33
+ pub const SA_NOCLDSTOP : :: c_ulong = 0x00000001 ;
30
34
31
35
pub const EPOLL_CLOEXEC : :: c_int = 0x80000 ;
32
36
@@ -158,9 +162,12 @@ pub const SOCK_STREAM: ::c_int = 2;
158
162
pub const SOCK_DGRAM : :: c_int = 1 ;
159
163
pub const SOCK_SEQPACKET : :: c_int = 5 ;
160
164
161
- pub const SA_ONSTACK : :: c_uint = 0x08000000 ;
162
- pub const SA_SIGINFO : :: c_uint = 0x00000008 ;
163
- pub const SA_NOCLDWAIT : :: c_int = 0x00010000 ;
165
+ #[ deprecated( since = "0.2.143" , note = "Use c_ulong instead." ) ]
166
+ pub const SA_ONSTACK : :: c_ulong = 0x08000000 ;
167
+ #[ deprecated( since = "0.2.143" , note = "Use c_ulong instead." ) ]
168
+ pub const SA_SIGINFO : :: c_ulong = 0x00000008 ;
169
+ #[ deprecated( since = "0.2.143" , note = "Use c_ulong instead." ) ]
170
+ pub const SA_NOCLDWAIT : :: c_ulong = 0x00010000 ;
164
171
165
172
pub const SIGCHLD : :: c_int = 18 ;
166
173
pub const SIGBUS : :: c_int = 10 ;
0 commit comments