Skip to content

Commit

Permalink
Merge pull request #2 from semarie/openbsd
Browse files Browse the repository at this point in the history
add openbsd support
  • Loading branch information
alexcrichton committed Dec 21, 2015
2 parents 4e3a802 + 702791e commit 30ccebc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
("freebsd", "unix", "")
} else if target.contains("netbsd") {
("netbsd", "unix", "")
} else if target.contains("openbsd") {
("openbsd", "unix", "")
} else {
panic!("unknown os/family width: {}", target)
};
Expand Down

0 comments on commit 30ccebc

Please sign in to comment.