@@ -113,6 +113,7 @@ pub const VMIN: usize = c::VMIN as usize;
113
113
114
114
/// `VSWTC`
115
115
#[ cfg( not( any(
116
+ target_os = "aix" ,
116
117
target_os = "dragonfly" ,
117
118
target_os = "freebsd" ,
118
119
target_os = "haiku" ,
@@ -142,11 +143,11 @@ pub const VEOL: usize = c::VEOL as usize;
142
143
pub const VREPRINT : usize = c:: VREPRINT as usize ;
143
144
144
145
/// `VDISCARD`
145
- #[ cfg( not( target_os = "haiku" ) ) ]
146
+ #[ cfg( not( any ( target_os = "aix" , target_os = " haiku") ) ) ]
146
147
pub const VDISCARD : usize = c:: VDISCARD as usize ;
147
148
148
149
/// `VWERASE`
149
- #[ cfg( not( target_os = "haiku" ) ) ]
150
+ #[ cfg( not( any ( target_os = "aix" , target_os = " haiku") ) ) ]
150
151
pub const VWERASE : usize = c:: VWERASE as usize ;
151
152
152
153
/// `VLNEXT`
@@ -219,6 +220,7 @@ pub const IMAXBEL: c::c_uint = c::IMAXBEL;
219
220
220
221
/// `IUTF8`
221
222
#[ cfg( not( any(
223
+ target_os = "aix" ,
222
224
target_os = "dragonfly" ,
223
225
target_os = "emscripten" ,
224
226
target_os = "freebsd" ,
@@ -239,6 +241,7 @@ pub const OPOST: c::c_uint = c::OPOST;
239
241
240
242
/// `OLCUC`
241
243
#[ cfg( not( any(
244
+ target_os = "aix" ,
242
245
target_os = "dragonfly" ,
243
246
target_os = "freebsd" ,
244
247
target_os = "ios" ,
@@ -676,16 +679,20 @@ pub const B19200: Speed = c::B19200;
676
679
pub const B38400 : Speed = c:: B38400 ;
677
680
678
681
/// `B57600`
682
+ #[ cfg( not( target_os = "aix" ) ) ]
679
683
pub const B57600 : Speed = c:: B57600 ;
680
684
681
685
/// `B115200`
686
+ #[ cfg( not( target_os = "aix" ) ) ]
682
687
pub const B115200 : Speed = c:: B115200 ;
683
688
684
689
/// `B230400`
690
+ #[ cfg( not( target_os = "aix" ) ) ]
685
691
pub const B230400 : Speed = c:: B230400 ;
686
692
687
693
/// `B460800`
688
694
#[ cfg( not( any(
695
+ target_os = "aix" ,
689
696
target_os = "dragonfly" ,
690
697
target_os = "haiku" ,
691
698
target_os = "ios" ,
@@ -696,6 +703,7 @@ pub const B460800: Speed = c::B460800;
696
703
697
704
/// `B500000`
698
705
#[ cfg( not( any(
706
+ target_os = "aix" ,
699
707
target_os = "dragonfly" ,
700
708
target_os = "freebsd" ,
701
709
target_os = "haiku" ,
@@ -710,6 +718,7 @@ pub const B500000: Speed = c::B500000;
710
718
711
719
/// `B576000`
712
720
#[ cfg( not( any(
721
+ target_os = "aix" ,
713
722
target_os = "dragonfly" ,
714
723
target_os = "freebsd" ,
715
724
target_os = "haiku" ,
@@ -724,6 +733,7 @@ pub const B576000: Speed = c::B576000;
724
733
725
734
/// `B921600`
726
735
#[ cfg( not( any(
736
+ target_os = "aix" ,
727
737
target_os = "dragonfly" ,
728
738
target_os = "haiku" ,
729
739
target_os = "ios" ,
@@ -734,19 +744,21 @@ pub const B921600: Speed = c::B921600;
734
744
735
745
/// `B1000000`
736
746
#[ cfg( not( any(
747
+ target_os = "aix" ,
737
748
target_os = "dragonfly" ,
738
749
target_os = "freebsd" ,
739
750
target_os = "haiku" ,
740
751
target_os = "ios" ,
741
752
target_os = "macos" ,
742
753
target_os = "netbsd" ,
743
754
target_os = "openbsd" ,
744
- target_os = "solaris" ,
755
+ target_os = "solaris"
745
756
) ) ) ]
746
757
pub const B1000000 : Speed = c:: B1000000 ;
747
758
748
759
/// `B1152000`
749
760
#[ cfg( not( any(
761
+ target_os = "aix" ,
750
762
target_os = "dragonfly" ,
751
763
target_os = "freebsd" ,
752
764
target_os = "haiku" ,
@@ -760,6 +772,7 @@ pub const B1152000: Speed = c::B1152000;
760
772
761
773
/// `B1500000`
762
774
#[ cfg( not( any(
775
+ target_os = "aix" ,
763
776
target_os = "dragonfly" ,
764
777
target_os = "freebsd" ,
765
778
target_os = "haiku" ,
@@ -773,6 +786,7 @@ pub const B1500000: Speed = c::B1500000;
773
786
774
787
/// `B2000000`
775
788
#[ cfg( not( any(
789
+ target_os = "aix" ,
776
790
target_os = "dragonfly" ,
777
791
target_os = "freebsd" ,
778
792
target_os = "haiku" ,
@@ -788,6 +802,7 @@ pub const B2000000: Speed = c::B2000000;
788
802
#[ cfg( not( any(
789
803
target_arch = "sparc" ,
790
804
target_arch = "sparc64" ,
805
+ target_os = "aix" ,
791
806
target_os = "dragonfly" ,
792
807
target_os = "freebsd" ,
793
808
target_os = "haiku" ,
@@ -803,6 +818,7 @@ pub const B2500000: Speed = c::B2500000;
803
818
#[ cfg( not( any(
804
819
target_arch = "sparc" ,
805
820
target_arch = "sparc64" ,
821
+ target_os = "aix" ,
806
822
target_os = "dragonfly" ,
807
823
target_os = "freebsd" ,
808
824
target_os = "haiku" ,
@@ -818,6 +834,7 @@ pub const B3000000: Speed = c::B3000000;
818
834
#[ cfg( not( any(
819
835
target_arch = "sparc" ,
820
836
target_arch = "sparc64" ,
837
+ target_os = "aix" ,
821
838
target_os = "dragonfly" ,
822
839
target_os = "freebsd" ,
823
840
target_os = "haiku" ,
@@ -833,6 +850,7 @@ pub const B3500000: Speed = c::B3500000;
833
850
#[ cfg( not( any(
834
851
target_arch = "sparc" ,
835
852
target_arch = "sparc64" ,
853
+ target_os = "aix" ,
836
854
target_os = "dragonfly" ,
837
855
target_os = "freebsd" ,
838
856
target_os = "haiku" ,
@@ -967,6 +985,7 @@ pub const CBAUD: c::c_uint = c::CBAUD;
967
985
968
986
/// `CBAUDEX`
969
987
#[ cfg( not( any(
988
+ target_os = "aix" ,
970
989
target_os = "dragonfly" ,
971
990
target_os = "freebsd" ,
972
991
target_os = "haiku" ,
@@ -1003,6 +1022,7 @@ pub const CIBAUD: c::tcflag_t = 0o77600000;
1003
1022
1004
1023
/// `CMSPAR`
1005
1024
#[ cfg( not( any(
1025
+ target_os = "aix" ,
1006
1026
target_os = "dragonfly" ,
1007
1027
target_os = "emscripten" ,
1008
1028
target_os = "freebsd" ,
@@ -1018,7 +1038,12 @@ pub const CIBAUD: c::tcflag_t = 0o77600000;
1018
1038
pub const CMSPAR : c:: c_uint = c:: CMSPAR ;
1019
1039
1020
1040
/// `CRTSCTS`
1021
- #[ cfg( not( any( target_os = "ios" , target_os = "macos" , target_os = "redox" ) ) ) ]
1041
+ #[ cfg( not( any(
1042
+ target_os = "aix" ,
1043
+ target_os = "ios" ,
1044
+ target_os = "macos" ,
1045
+ target_os = "redox" ,
1046
+ ) ) ) ]
1022
1047
pub const CRTSCTS : c:: c_uint = c:: CRTSCTS ;
1023
1048
1024
1049
/// `XCASE`
@@ -1047,6 +1072,7 @@ pub const PENDIN: c::c_uint = c::PENDIN;
1047
1072
1048
1073
/// `EXTPROC`
1049
1074
#[ cfg( not( any(
1075
+ target_os = "aix" ,
1050
1076
target_os = "haiku" ,
1051
1077
target_os = "ios" ,
1052
1078
target_os = "macos" ,
@@ -1056,6 +1082,7 @@ pub const EXTPROC: c::c_uint = c::EXTPROC;
1056
1082
1057
1083
/// `XTABS`
1058
1084
#[ cfg( not( any(
1085
+ target_os = "aix" ,
1059
1086
target_os = "dragonfly" ,
1060
1087
target_os = "freebsd" ,
1061
1088
target_os = "haiku" ,
0 commit comments