diff --git a/src/unix/bsd/apple/b32.rs b/src/unix/bsd/apple/b32.rs index d2c56716..80916b3b 100644 --- a/src/unix/bsd/apple/b32.rs +++ b/src/unix/bsd/apple/b32.rs @@ -13,3 +13,6 @@ s! { pub const __PTHREAD_MUTEX_SIZE__: usize = 40; pub const __PTHREAD_COND_SIZE__: usize = 24; pub const __PTHREAD_RWLOCK_SIZE__: usize = 124; + +pub const TIOCTIMESTAMP: ::c_ulong = 0x40087459; +pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40087458; diff --git a/src/unix/bsd/apple/b64.rs b/src/unix/bsd/apple/b64.rs index 784aa9b5..92962280 100644 --- a/src/unix/bsd/apple/b64.rs +++ b/src/unix/bsd/apple/b64.rs @@ -13,3 +13,6 @@ s! { pub const __PTHREAD_MUTEX_SIZE__: usize = 56; pub const __PTHREAD_COND_SIZE__: usize = 40; pub const __PTHREAD_RWLOCK_SIZE__: usize = 192; + +pub const TIOCTIMESTAMP: ::c_ulong = 0x40107459; +pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40107458; diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index 2b5da7ff..70cd42c7 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -549,8 +549,6 @@ pub const TIOCSIG: ::c_uint = 0x2000745f; pub const TIOCDRAIN: ::c_uint = 0x2000745e; pub const TIOCMSDTRWAIT: ::c_ulong = 0x8004745b; pub const TIOCMGDTRWAIT: ::c_ulong = 0x4004745a; -pub const TIOCTIMESTAMP: ::c_ulong = 0x40107459; -pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40107458; pub const TIOCSDRAINWAIT: ::c_ulong = 0x80047457; pub const TIOCGDRAINWAIT: ::c_ulong = 0x40047456; pub const TIOCDSIMICROCODE: ::c_uint = 0x20007455;