Skip to content

Commit 8c06e14

Browse files
committed
Revert "Simplify configuration of ai_addr"
This reverts commit 7ac91c6.
1 parent 7ac91c6 commit 8c06e14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/unix/notbsd/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@ s! {
5454
pub ai_addrlen: socklen_t,
5555

5656
#[cfg(any(target_os = "linux",
57-
target_os = "android",
5857
target_os = "emscripten",
5958
target_os = "fuchsia"))]
6059
pub ai_addr: *mut ::sockaddr,
6160

6261
pub ai_canonname: *mut c_char,
6362

63+
#[cfg(target_os = "android")]
64+
pub ai_addr: *mut ::sockaddr,
65+
6466
pub ai_next: *mut addrinfo,
6567
}
6668

0 commit comments

Comments
 (0)