Don't expose B460800 & B921600 on dragonfly

These constants aren't available from the system headers so don't expose
them here.
This commit is contained in:
Bryant Mairs 2017-04-19 10:21:38 -07:00
parent 66bfe09e9e
commit 4cc80979b8
2 changed files with 3 additions and 2 deletions

View File

@ -505,6 +505,9 @@ pub const P_PID: idtype_t = 0;
pub const P_PGID: idtype_t = 2;
pub const P_ALL: idtype_t = 7;
pub const B460800: ::speed_t = 460800;
pub const B921600: ::speed_t = 921600;
extern {
pub fn __error() -> *mut ::c_int;

View File

@ -869,8 +869,6 @@ pub const B57600: speed_t = 57600;
pub const B76800: speed_t = 76800;
pub const B115200: speed_t = 115200;
pub const B230400: speed_t = 230400;
pub const B460800: speed_t = 460800;
pub const B921600: speed_t = 921600;
pub const EXTA: speed_t = 19200;
pub const EXTB: speed_t = 38400;