diff options
| author | ILyoan <ilyoan@gmail.com> | 2013-03-15 15:35:39 +0900 |
|---|---|---|
| committer | ILyoan <ilyoan@gmail.com> | 2013-03-15 15:35:39 +0900 |
| commit | 1a6a37e01a700191f200cd1d9f1ebdf08d1dec2d (patch) | |
| tree | 7e2a0768e29216d662345f8a86f0576552fa32b2 | |
| parent | 73b253dc800efe9fa73edfed4663d175b667129b (diff) | |
| download | rust-1a6a37e01a700191f200cd1d9f1ebdf08d1dec2d.tar.gz rust-1a6a37e01a700191f200cd1d9f1ebdf08d1dec2d.zip | |
Fix an android compilation fail
| -rw-r--r-- | src/libcore/rt/thread_local_storage.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/rt/thread_local_storage.rs b/src/libcore/rt/thread_local_storage.rs index 5b135ba98ce..e10551b6b89 100644 --- a/src/libcore/rt/thread_local_storage.rs +++ b/src/libcore/rt/thread_local_storage.rs @@ -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; |
