diff options
| author | Vojtech Kral <vojtech@kral.hk> | 2015-01-28 16:52:53 +0100 |
|---|---|---|
| committer | Vojtech Kral <vojtech@kral.hk> | 2015-01-28 16:52:53 +0100 |
| commit | 9ee972ca32b1f91eb6880e1bc9c8bb5a4faf1f29 (patch) | |
| tree | 32a07fb4e3d44acdb79e12fff3e086f15ef0b442 /src/libstd/sys | |
| parent | 7e67eba180eb2efb09e1487020a9a160335e7926 (diff) | |
| download | rust-9ee972ca32b1f91eb6880e1bc9c8bb5a4faf1f29.tar.gz rust-9ee972ca32b1f91eb6880e1bc9c8bb5a4faf1f29.zip | |
Thread native name setting, fix #10302
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/thread.rs b/src/libstd/sys/unix/thread.rs index d8e281bf5ab..26a450b8599 100644 --- a/src/libstd/sys/unix/thread.rs +++ b/src/libstd/sys/unix/thread.rs @@ -278,7 +278,7 @@ fn min_stack_size(_: *const libc::pthread_attr_t) -> libc::size_t { PTHREAD_STACK_MIN } -#[cfg(any(target_os = "linux"))] +#[cfg(any(target_os = "linux", target_os = "android"))] extern { pub fn pthread_self() -> libc::pthread_t; pub fn pthread_getattr_np(native: libc::pthread_t, |
