auto merge of #5396 : ILyoan/rust/fix_rt_tls, r=graydon
Add a conditional compile option for android
This commit is contained in:
commit
4ad9e5c0c2
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ type pthread_key_t = c_ulong;
|
|||
|
||||
#[cfg(target_os="linux")]
|
||||
#[cfg(target_os="freebsd")]
|
||||
#[cfg(target_os="android")]
|
||||
#[allow(non_camel_case_types)] // foreign type
|
||||
type pthread_key_t = c_uint;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue