Fix broken Solaris build

This commit is contained in:
Nikita Baksalyar
2016-02-22 01:57:24 +03:00
parent 0f62d219fb
commit e77c79e96d
3 changed files with 4 additions and 2 deletions

View File

@@ -157,7 +157,8 @@ mod imp {
target_os = "macos",
target_os = "bitrig",
target_os = "netbsd",
target_os = "openbsd"))]
target_os = "openbsd",
target_os = "solaris"))]
unsafe fn get_stack() -> libc::stack_t {
libc::stack_t { ss_sp: get_stackp(), ss_flags: 0, ss_size: SIGSTKSZ }
}