File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ pub mod statvfs;
89
89
#[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
90
90
pub mod sysinfo;
91
91
92
- #[ cfg( not( target_os = "redox" ) ) ]
93
92
pub mod termios;
94
93
95
94
pub mod time;
Original file line number Diff line number Diff line change @@ -818,6 +818,7 @@ libc_bitflags! {
818
818
PARODD ;
819
819
HUPCL ;
820
820
CLOCAL ;
821
+ #[ cfg( not( target_os = "redox" ) ) ]
821
822
CRTSCTS ;
822
823
#[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
823
824
CBAUD ;
@@ -868,12 +869,15 @@ libc_bitflags! {
868
869
libc_bitflags ! {
869
870
/// Flags for setting any local modes
870
871
pub struct LocalFlags : tcflag_t {
872
+ #[ cfg( not( target_os = "redox" ) ) ]
871
873
ECHOKE ;
872
874
ECHOE ;
873
875
ECHOK ;
874
876
ECHO ;
875
877
ECHONL ;
878
+ #[ cfg( not( target_os = "redox" ) ) ]
876
879
ECHOPRT ;
880
+ #[ cfg( not( target_os = "redox" ) ) ]
877
881
ECHOCTL ;
878
882
ISIG ;
879
883
ICANON ;
@@ -885,8 +889,10 @@ libc_bitflags! {
885
889
target_os = "openbsd" ) ) ]
886
890
ALTWERASE ;
887
891
IEXTEN ;
892
+ #[ cfg( not( target_os = "redox" ) ) ]
888
893
EXTPROC ;
889
894
TOSTOP ;
895
+ #[ cfg( not( target_os = "redox" ) ) ]
890
896
FLUSHO ;
891
897
#[ cfg( any( target_os = "freebsd" ,
892
898
target_os = "dragonfly" ,
@@ -895,6 +901,7 @@ libc_bitflags! {
895
901
target_os = "netbsd" ,
896
902
target_os = "openbsd" ) ) ]
897
903
NOKERNINFO ;
904
+ #[ cfg( not( target_os = "redox" ) ) ]
898
905
PENDIN ;
899
906
NOFLSH ;
900
907
}
You can’t perform that action at this time.
0 commit comments