Add netbsd amd64 support

This commit is contained in:
Alex Newman
2015-06-30 20:37:11 -07:00
parent d2cf9f9632
commit 0b7c4f57f6
43 changed files with 271 additions and 41 deletions

View File

@@ -35,6 +35,7 @@ impl Drop for Handler {
#[cfg(any(target_os = "linux",
target_os = "macos",
target_os = "bitrig",
target_os = "netbsd",
target_os = "openbsd"))]
mod imp {
use sys_common::stack;
@@ -149,6 +150,7 @@ mod imp {
#[cfg(not(any(target_os = "linux",
target_os = "macos",
target_os = "bitrig",
target_os = "netbsd",
target_os = "openbsd")))]
mod imp {
use libc;