Skip to content

Commit f500051

Browse files
committed
apple: TIOCTIMESTAMP and TIOCDCDTIMESTAMP differ on 32 bit
1 parent 8e85797 commit f500051

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/unix/bsd/apple/b32.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ s! {
1313
pub const __PTHREAD_MUTEX_SIZE__: usize = 40;
1414
pub const __PTHREAD_COND_SIZE__: usize = 24;
1515
pub const __PTHREAD_RWLOCK_SIZE__: usize = 124;
16+
17+
pub const TIOCTIMESTAMP: ::c_ulong = 0x40087459;
18+
pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40087458;

src/unix/bsd/apple/b64.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ s! {
1313
pub const __PTHREAD_MUTEX_SIZE__: usize = 56;
1414
pub const __PTHREAD_COND_SIZE__: usize = 40;
1515
pub const __PTHREAD_RWLOCK_SIZE__: usize = 192;
16+
17+
pub const TIOCTIMESTAMP: ::c_ulong = 0x40107459;
18+
pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40107458;

src/unix/bsd/apple/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,6 @@ pub const TIOCSIG: ::c_uint = 0x2000745f;
549549
pub const TIOCDRAIN: ::c_uint = 0x2000745e;
550550
pub const TIOCMSDTRWAIT: ::c_ulong = 0x8004745b;
551551
pub const TIOCMGDTRWAIT: ::c_ulong = 0x4004745a;
552-
pub const TIOCTIMESTAMP: ::c_ulong = 0x40107459;
553-
pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40107458;
554552
pub const TIOCSDRAINWAIT: ::c_ulong = 0x80047457;
555553
pub const TIOCGDRAINWAIT: ::c_ulong = 0x40047456;
556554
pub const TIOCDSIMICROCODE: ::c_uint = 0x20007455;

0 commit comments

Comments
 (0)