File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,12 @@ s! {
210210 pub sdl_rcf: :: c_ushort,
211211 pub sdl_route: [ :: c_ushort; 16 ] ,
212212 }
213+
214+ pub struct stack_t {
215+ pub ss_sp: * mut :: c_char,
216+ pub ss_size: :: size_t,
217+ pub ss_flags: :: c_int,
218+ }
213219}
214220
215221pub const RAND_MAX : :: c_int = 0x7fff_ffff ;
Original file line number Diff line number Diff line change @@ -184,6 +184,12 @@ s! {
184184 pub sdl_slen: :: c_uchar,
185185 pub sdl_data: [ :: c_char; 46 ] ,
186186 }
187+
188+ pub struct stack_t {
189+ pub ss_sp: * mut :: c_void,
190+ pub ss_size: :: size_t,
191+ pub ss_flags: :: c_int,
192+ }
187193}
188194
189195pub const SIGEV_THREAD_ID : :: c_int = 4 ;
Original file line number Diff line number Diff line change 8282 pub sa_mask: sigset_t,
8383 }
8484
85- pub struct stack_t {
86- // In FreeBSD 11 and later, ss_sp is actually a void*
87- pub ss_sp: * mut :: c_char,
88- pub ss_size: :: size_t,
89- pub ss_flags: :: c_int,
90- }
91-
9285 pub struct sched_param {
9386 pub sched_priority: :: c_int,
9487 }
You can’t perform that action at this time.
0 commit comments