auto merge of #11100 : klutzy/rust/win-no-pthread-2, r=alexcrichton

This commit is contained in:
bors 2013-12-21 00:56:30 -08:00
commit ba801d8116
1 changed files with 3 additions and 1 deletions

View File

@ -728,7 +728,9 @@ extern {
// libuv requires other native libraries on various platforms. These are all
// listed here (for each platform)
#[cfg(not(target_os = "android"))] // apparently pthreads isn't on android?
// libuv doesn't use pthread on windows
// android libc (bionic) provides pthread, so no additional link is required
#[cfg(not(windows), not(target_os = "android"))]
#[link(name = "pthread")]
extern {}