Skip to content

Commit

Permalink
Add Haiku support
Browse files Browse the repository at this point in the history
  • Loading branch information
coolcoder613eb committed Dec 22, 2024
1 parent 44cec0d commit baacdd0
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 baacdd0

Please sign in to comment.