File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ cfg_if! {
146
146
pub type ssize_t = isize ;
147
147
pub enum FILE { }
148
148
pub enum fpos_t { } // TODO: fill this out with a struct
149
- pub const EPOLLRDHUP : c_int = 8192 ;
150
149
extern {
151
150
pub fn isalnum( c: c_int) -> c_int;
152
151
pub fn isalpha( c: c_int) -> c_int;
@@ -279,7 +278,10 @@ cfg_if! {
279
278
}
280
279
281
280
cfg_if ! {
282
- if #[ cfg( windows) ] {
281
+ if #[ cfg( target_os = "solaris" ) ] {
282
+ mod unix;
283
+ pub use unix:: * ;
284
+ } else if #[ cfg( windows) ] {
283
285
mod windows;
284
286
pub use windows:: * ;
285
287
} else if #[ cfg( target_os = "redox" ) ] {
@@ -296,5 +298,7 @@ cfg_if! {
296
298
pub use unix:: * ;
297
299
} else {
298
300
// Unknown target_family
301
+ mod unix;
302
+ pub use unix:: * ;
299
303
}
300
304
}
You can’t perform that action at this time.
0 commit comments