Skip to content

Commit 81eb094

Browse files
committed
Bring back SYS_gettid on Android/ARM which was accidentally removed by rust-lang#710.
1 parent 0dae0e7 commit 81eb094

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

+2
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)