Skip to content

Commit

Permalink
Merge pull request #88 from coolcoder613eb/main
Browse files Browse the repository at this point in the history
Add Haiku support
  • Loading branch information
sylvestre authored Dec 22, 2024
2 parents 44cec0d + baacdd0 commit 1a118ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/platform/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ impl Debug for UTSName {
target_os = "dragonfly",
target_os = "freebsd",
target_os = "openbsd",
target_os = "netbsd"
target_os = "netbsd",
target_os = "haiku"
)))]
{
debug_struct = debug_struct.field("domainname", &oss_from_cstr(&self.0.domainname));
Expand Down Expand Up @@ -161,7 +162,8 @@ impl PartialEq for UTSName {
target_os = "dragonfly",
target_os = "freebsd",
target_os = "openbsd",
target_os = "netbsd"
target_os = "netbsd",
target_os = "haiku"
)))]
{
equal = equal && (self.0.domainname == other.0.domainname);
Expand Down

0 comments on commit 1a118ba

Please sign in to comment.