| ... | @@ -218,11 +218,6 @@ pub const Address = extern union { | ... | @@ -218,11 +218,6 @@ pub const Address = extern union { |
| 218 | } | 218 | } |
| 219 | | 219 | |
| 220 | pub fn initUnix(path: []const u8) !Address { | 220 | pub fn initUnix(path: []const u8) !Address { |
| 221 | switch (builtin.os) { | | |
| 222 | .linux, .macosx, .freebsd, .netbsd => {}, | | |
| 223 | else => return error.UnsupportedOS, | | |
| 224 | } | | |
| 225 | | | |
| 226 | var sock_addr = os.sockaddr_un{ | 221 | var sock_addr = os.sockaddr_un{ |
| 227 | .family = os.AF_UNIX, | 222 | .family = os.AF_UNIX, |
| 228 | .path = undefined, | 223 | .path = undefined, |