File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ cfg_if! {
4040extern_ty ! {
4141 pub enum DIR { }
4242}
43+
44+ #[ cfg( not( target_os = "nuttx" ) ) ]
4345pub type locale_t = * mut c_void ;
4446
4547s ! {
131133 __reserved: [ c_long; 16 ] ,
132134 }
133135
136+ #[ cfg( not( target_os = "nuttx" ) ) ]
134137 pub struct ipv6_mreq {
135138 pub ipv6mr_multiaddr: in6_addr,
136139 #[ cfg( target_os = "android" ) ]
Original file line number Diff line number Diff line change @@ -236,11 +236,6 @@ s! {
236236 pub ipv6mr_multiaddr: in6_addr,
237237 pub ipv6mr_interface: u32 ,
238238 }
239-
240- pub struct timeval {
241- pub tv_sec: time_t,
242- pub tv_usec: suseconds_t,
243- }
244239}
245240
246241// Reserved two pointer size for reserved area for some structures.
@@ -528,7 +523,6 @@ pub const SIGQUIT: c_int = 3;
528523pub const SIGILL : c_int = 4 ;
529524pub const SIGTRAP : c_int = 5 ;
530525pub const SIGABRT : c_int = 6 ;
531- pub const SIGIOT : c_int = 6 ;
532526pub const SIGBUS : c_int = 7 ;
533527pub const SIGFPE : c_int = 8 ;
534528pub const SIGKILL : c_int = 9 ;
You can’t perform that action at this time.
0 commit comments