diff options
author | Bryant Mairs <bryant@mai.rs> | 2017-07-11 23:17:15 -0700 |
---|---|---|
committer | Bryant Mairs <bryant@mai.rs> | 2017-07-13 11:18:00 -0700 |
commit | f04b44292e70c26b5934bd1fd186543d7321934c (patch) | |
tree | e0795c1ba84153138467fd63eaab0de57e50b37a /src/unix | |
parent | 3f903a1da37fd3a6f791bea0e8be3b5e9289751c (diff) | |
download | rust-libc-f04b44292e70c26b5934bd1fd186543d7321934c.tar.gz |
Add CMSPAR to linux/mips
It needs to be skipped during testing because there's no way to include
a combination of headers that will expose it without giving a "type has
already been defined" error.
Diffstat (limited to 'src/unix')
-rw-r--r-- | src/unix/notbsd/android/mod.rs | 1 | ||||
-rw-r--r-- | src/unix/notbsd/linux/musl/mod.rs | 1 | ||||
-rw-r--r-- | src/unix/notbsd/linux/other/mod.rs | 2 | ||||
-rw-r--r-- | src/unix/notbsd/linux/s390x.rs | 1 | ||||
-rw-r--r-- | src/unix/notbsd/mod.rs | 1 |
5 files changed, 1 insertions, 5 deletions
diff --git a/src/unix/notbsd/android/mod.rs b/src/unix/notbsd/android/mod.rs index be527f0c94..56dc60c2b7 100644 --- a/src/unix/notbsd/android/mod.rs +++ b/src/unix/notbsd/android/mod.rs @@ -792,7 +792,6 @@ pub const NLA_TYPE_MASK: ::c_int = !(NLA_F_NESTED | NLA_F_NET_BYTEORDER); pub const SIGEV_THREAD_ID: ::c_int = 4; -pub const CMSPAR: ::tcflag_t = 0o10000000000; pub const CIBAUD: ::tcflag_t = 0o02003600000; pub const CBAUDEX: ::tcflag_t = 0o010000; diff --git a/src/unix/notbsd/linux/musl/mod.rs b/src/unix/notbsd/linux/musl/mod.rs index c7841721fb..e7076f4d3b 100644 --- a/src/unix/notbsd/linux/musl/mod.rs +++ b/src/unix/notbsd/linux/musl/mod.rs @@ -279,7 +279,6 @@ pub const ISIG: ::tcflag_t = 0x00000001; pub const ICANON: ::tcflag_t = 0x00000002; pub const PENDIN: ::tcflag_t = 0x00004000; pub const NOFLSH: ::tcflag_t = 0x00000080; -pub const CMSPAR: ::tcflag_t = 0o10000000000; pub const CIBAUD: ::tcflag_t = 0o02003600000; pub const CBAUDEX: ::tcflag_t = 0o010000; pub const VSWTC: usize = 7; diff --git a/src/unix/notbsd/linux/other/mod.rs b/src/unix/notbsd/linux/other/mod.rs index 6dc59c78fa..08347f14de 100644 --- a/src/unix/notbsd/linux/other/mod.rs +++ b/src/unix/notbsd/linux/other/mod.rs @@ -517,8 +517,6 @@ pub const NLA_F_NESTED: ::c_int = 1 << 15; pub const NLA_F_NET_BYTEORDER: ::c_int = 1 << 14; pub const NLA_TYPE_MASK: ::c_int = !(NLA_F_NESTED | NLA_F_NET_BYTEORDER); -pub const CMSPAR: ::tcflag_t = 0o10000000000; - pub const TIOCM_LE: ::c_int = 0x001; pub const TIOCM_DTR: ::c_int = 0x002; pub const TIOCM_RTS: ::c_int = 0x004; diff --git a/src/unix/notbsd/linux/s390x.rs b/src/unix/notbsd/linux/s390x.rs index 52c35a6f9c..cb73bf3346 100644 --- a/src/unix/notbsd/linux/s390x.rs +++ b/src/unix/notbsd/linux/s390x.rs @@ -778,7 +778,6 @@ pub const LINUX_REBOOT_CMD_KEXEC: ::c_int = 0x45584543; pub const SYS_gettid: ::c_long = 236; pub const SYS_perf_event_open: ::c_long = 331; -pub const CMSPAR: ::tcflag_t = 0o10000000000; pub const VSWTC: usize = 7; pub const OLCUC: ::tcflag_t = 0o000002; pub const NLDLY: ::tcflag_t = 0o000400; diff --git a/src/unix/notbsd/mod.rs b/src/unix/notbsd/mod.rs index d07401e52e..473856e9d9 100644 --- a/src/unix/notbsd/mod.rs +++ b/src/unix/notbsd/mod.rs @@ -679,6 +679,7 @@ pub const IMAXBEL: ::tcflag_t = 0x00002000; pub const IUTF8: ::tcflag_t = 0x00004000; pub const OPOST: ::tcflag_t = 0x1; pub const CS5: ::tcflag_t = 0x00000000; +pub const CMSPAR: ::tcflag_t = 0o10000000000; pub const CRTSCTS: ::tcflag_t = 0x80000000; pub const ECHO: ::tcflag_t = 0x00000008; pub const OCRNL: ::tcflag_t = 0o000010; |