File tree 2 files changed +25
-1
lines changed
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
s ! {
4
4
pub struct sigset_t {
5
+ #[ cfg( target_os = "horizon" ) ]
5
6
__val: [ :: c_ulong; 16 ] ,
7
+ #[ cfg( not( target_os = "horizon" ) ) ]
8
+ __val: u32 ,
6
9
}
7
10
8
11
pub struct stat {
Original file line number Diff line number Diff line change @@ -203,6 +203,10 @@ s! {
203
203
pub c_lflag: :: tcflag_t,
204
204
pub c_line: :: cc_t,
205
205
pub c_cc: [ :: cc_t; :: NCCS ] ,
206
+ #[ cfg( target_os = "espidf" ) ]
207
+ pub c_ispeed: u32 ,
208
+ #[ cfg( target_os = "espidf" ) ]
209
+ pub c_ospeed: u32 ,
206
210
}
207
211
208
212
pub struct sem_t { // Unverified
@@ -230,7 +234,24 @@ s! {
230
234
}
231
235
232
236
pub struct pthread_attr_t { // Unverified
233
- __size: [ u8 ; __SIZEOF_PTHREAD_ATTR_T]
237
+ #[ cfg( not( target_os = "espidf" ) ) ]
238
+ __size: [ u8 ; __SIZEOF_PTHREAD_ATTR_T] ,
239
+ #[ cfg( target_os = "espidf" ) ]
240
+ pub is_initialized: i32 ,
241
+ #[ cfg( target_os = "espidf" ) ]
242
+ pub stackaddr: * mut crate :: c_void,
243
+ #[ cfg( target_os = "espidf" ) ]
244
+ pub stacksize: i32 ,
245
+ #[ cfg( target_os = "espidf" ) ]
246
+ pub contentionscope: i32 ,
247
+ #[ cfg( target_os = "espidf" ) ]
248
+ pub inheritsched: i32 ,
249
+ #[ cfg( target_os = "espidf" ) ]
250
+ pub schedpolicy: i32 ,
251
+ #[ cfg( target_os = "espidf" ) ]
252
+ pub schedparam: i32 ,
253
+ #[ cfg( target_os = "espidf" ) ]
254
+ pub detachstate: i32 ,
234
255
}
235
256
236
257
pub struct pthread_rwlockattr_t { // Unverified
You can’t perform that action at this time.
0 commit comments