Rename sunos to solaris
This commit is contained in:
@@ -93,7 +93,7 @@ fn os2c(s: &OsStr) -> CString {
|
||||
pub struct ExitStatus(c_int);
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "android",
|
||||
target_os = "nacl", target_os = "sunos"))]
|
||||
target_os = "nacl", target_os = "solaris"))]
|
||||
mod status_imp {
|
||||
pub fn WIFEXITED(status: i32) -> bool { (status & 0xff) == 0 }
|
||||
pub fn WEXITSTATUS(status: i32) -> i32 { (status >> 8) & 0xff }
|
||||
|
||||
Reference in New Issue
Block a user