Skip to content

Commit 98f4747

Browse files
Tom GoringThomasdezeeuw
Tom Goring
authored andcommitted
Add support for 'all' feature on QNX Neutrino for v0.4.x
1 parent 25613f5 commit 98f4747

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sockaddr.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ impl From<SocketAddrV4> for SockAddr {
234234
target_os = "ios",
235235
target_os = "macos",
236236
target_os = "netbsd",
237-
target_os = "openbsd"
237+
target_os = "openbsd",
238+
target_os = "nto"
238239
))]
239240
sin_len: 0,
240241
};
@@ -273,7 +274,8 @@ impl From<SocketAddrV6> for SockAddr {
273274
target_os = "ios",
274275
target_os = "macos",
275276
target_os = "netbsd",
276-
target_os = "openbsd"
277+
target_os = "openbsd",
278+
target_os = "nto"
277279
))]
278280
sin6_len: 0,
279281
#[cfg(any(target_os = "solaris", target_os = "illumos"))]

0 commit comments

Comments
 (0)