File tree 5 files changed +11
-2
lines changed
5 files changed +11
-2
lines changed Original file line number Diff line number Diff line change
1
+ pub type pthread_t = :: c_ulong ;
2
+
1
3
pub const SFD_CLOEXEC : :: c_int = 0x080000 ;
2
4
3
5
pub const NCCS : usize = 32 ;
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ pub type id_t = ::c_uint;
11
11
pub type useconds_t = u32 ;
12
12
pub type dev_t = u64 ;
13
13
pub type socklen_t = u32 ;
14
- pub type pthread_t = :: c_ulong ;
15
14
pub type mode_t = u32 ;
16
15
pub type ino64_t = u64 ;
17
16
pub type off64_t = i64 ;
Original file line number Diff line number Diff line change 4
4
/// libc and hence we should provide them here.
5
5
6
6
pub type l4_umword_t = :: c_ulong ; // Unsigned machine word.
7
+ pub type pthread_t = * mut :: c_void ;
7
8
8
9
s ! {
9
10
/// CPU sets.
Original file line number Diff line number Diff line change @@ -352,6 +352,9 @@ cfg_if! {
352
352
if #[ cfg( target_os = "l4re" ) ] {
353
353
mod l4re;
354
354
pub use self :: l4re:: * ;
355
- } else { }
355
+ } else {
356
+ mod other;
357
+ pub use other:: * ;
358
+ }
356
359
}
357
360
Original file line number Diff line number Diff line change
1
+ // Thestyle checker discourages the use of #[cfg], so this has to go into a
2
+ // separate module
3
+ pub type pthread_t = :: c_ulong ;
4
+
You can’t perform that action at this time.
0 commit comments