Skip to content

Commit 6c0ff9e

Browse files
committed
Auto merge of rust-lang#713 - marmistrz:fix-gettid, r=alexcrichton
Bring back SYS_gettid on Android/ARM which was accidentally removed by rust-lang#710.
2 parents 0dae0e7 + 81eb094 commit 6c0ff9e

File tree

1 file changed

+2
-0
lines changed
  • src/unix/notbsd/android/b32

1 file changed

+2
-0
lines changed

src/unix/notbsd/android/b32/arm.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ pub const O_DIRECT: ::c_int = 0x10000;
55
pub const O_DIRECTORY: ::c_int = 0x4000;
66
pub const O_NOFOLLOW: ::c_int = 0x8000;
77
pub const O_LARGEFILE: ::c_int = 0o400000;
8+
9+
pub const SYS_gettid: ::c_long = 224;

0 commit comments

Comments
 (0)