Fix an android compilation fail
This commit is contained in:
parent
73b253dc80
commit
1a6a37e01a
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
Reference in a new issue