File tree 6 files changed +8
-5
lines changed 6 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -432,6 +432,13 @@ fn main() {
432
432
// See constant definition for more details.
433
433
"ENOATTR" if linux => true ,
434
434
435
+ // On mips*-unknown-linux-gnu* CMSPAR cannot be included with the set of headers we
436
+ // want to use here for testing. It's originally defined in asm/termbits.h, which is
437
+ // also included by asm/termios.h, but not the standard termios.h. There's no way to
438
+ // include both asm/termbits.h and termios.h and there's no way to include both
439
+ // asm/termios.h and ioctl.h (+ some other headers) because of redeclared types.
440
+ "CMSPAR" if mips && linux && !musl => true ,
441
+
435
442
_ => false ,
436
443
}
437
444
} ) ;
Original file line number Diff line number Diff line change @@ -792,7 +792,6 @@ pub const NLA_TYPE_MASK: ::c_int = !(NLA_F_NESTED | NLA_F_NET_BYTEORDER);
792
792
793
793
pub const SIGEV_THREAD_ID : :: c_int = 4 ;
794
794
795
- pub const CMSPAR : :: tcflag_t = 0o10000000000 ;
796
795
pub const CIBAUD : :: tcflag_t = 0o02003600000 ;
797
796
pub const CBAUDEX : :: tcflag_t = 0o010000 ;
798
797
Original file line number Diff line number Diff line change @@ -276,7 +276,6 @@ pub const ISIG: ::tcflag_t = 0x00000001;
276
276
pub const ICANON : :: tcflag_t = 0x00000002 ;
277
277
pub const PENDIN : :: tcflag_t = 0x00004000 ;
278
278
pub const NOFLSH : :: tcflag_t = 0x00000080 ;
279
- pub const CMSPAR : :: tcflag_t = 0o10000000000 ;
280
279
pub const CIBAUD : :: tcflag_t = 0o02003600000 ;
281
280
pub const CBAUDEX : :: tcflag_t = 0o010000 ;
282
281
pub const VSWTC : usize = 7 ;
Original file line number Diff line number Diff line change @@ -514,8 +514,6 @@ pub const NLA_F_NESTED: ::c_int = 1 << 15;
514
514
pub const NLA_F_NET_BYTEORDER : :: c_int = 1 << 14 ;
515
515
pub const NLA_TYPE_MASK : :: c_int = !( NLA_F_NESTED | NLA_F_NET_BYTEORDER ) ;
516
516
517
- pub const CMSPAR : :: tcflag_t = 0o10000000000 ;
518
-
519
517
pub const TIOCM_LE : :: c_int = 0x001 ;
520
518
pub const TIOCM_DTR : :: c_int = 0x002 ;
521
519
pub const TIOCM_RTS : :: c_int = 0x004 ;
Original file line number Diff line number Diff line change @@ -778,7 +778,6 @@ pub const LINUX_REBOOT_CMD_KEXEC: ::c_int = 0x45584543;
778
778
pub const SYS_gettid : :: c_long = 236 ;
779
779
pub const SYS_perf_event_open : :: c_long = 331 ;
780
780
781
- pub const CMSPAR : :: tcflag_t = 0o10000000000 ;
782
781
pub const VSWTC : usize = 7 ;
783
782
pub const OLCUC : :: tcflag_t = 0o000002 ;
784
783
pub const NLDLY : :: tcflag_t = 0o000400 ;
Original file line number Diff line number Diff line change @@ -679,6 +679,7 @@ pub const IMAXBEL: ::tcflag_t = 0x00002000;
679
679
pub const IUTF8 : :: tcflag_t = 0x00004000 ;
680
680
pub const OPOST : :: tcflag_t = 0x1 ;
681
681
pub const CS5 : :: tcflag_t = 0x00000000 ;
682
+ pub const CMSPAR : :: tcflag_t = 0o10000000000 ;
682
683
pub const CRTSCTS : :: tcflag_t = 0x80000000 ;
683
684
pub const ECHO : :: tcflag_t = 0x00000008 ;
684
685
pub const OCRNL : :: tcflag_t = 0o000010 ;
You can’t perform that action at this time.
0 commit comments