Skip to content

Commit 1a118ba

Browse files
authored
Merge pull request #88 from coolcoder613eb/main
Add Haiku support
2 parents 44cec0d + baacdd0 commit 1a118ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/platform/unix.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ impl Debug for UTSName {
125125
target_os = "dragonfly",
126126
target_os = "freebsd",
127127
target_os = "openbsd",
128-
target_os = "netbsd"
128+
target_os = "netbsd",
129+
target_os = "haiku"
129130
)))]
130131
{
131132
debug_struct = debug_struct.field("domainname", &oss_from_cstr(&self.0.domainname));
@@ -161,7 +162,8 @@ impl PartialEq for UTSName {
161162
target_os = "dragonfly",
162163
target_os = "freebsd",
163164
target_os = "openbsd",
164-
target_os = "netbsd"
165+
target_os = "netbsd",
166+
target_os = "haiku"
165167
)))]
166168
{
167169
equal = equal && (self.0.domainname == other.0.domainname);

0 commit comments

Comments
 (0)