auto merge of #5396 : ILyoan/rust/fix_rt_tls, r=graydon

Add a conditional compile option for android
This commit is contained in:
bors 2013-03-15 17:18:44 -07:00
commit 4ad9e5c0c2

View file

@ -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;