Rename sunos to solaris

This commit is contained in:
Nikita Baksalyar
2016-01-28 14:02:31 +03:00
parent 6d07b68f5e
commit e5da5d59f8
29 changed files with 55 additions and 57 deletions

View File

@@ -928,7 +928,7 @@ fn get_concurrency() -> usize {
target_os = "macos",
target_os = "ios",
target_os = "android",
target_os = "sunos"))]
target_os = "solaris"))]
fn num_cpus() -> usize {
unsafe { libc::sysconf(libc::_SC_NPROCESSORS_ONLN) as usize }
}