Skip to content

Commit

Permalink
Revert "Simplify configuration of ai_addr"
Browse files Browse the repository at this point in the history
This reverts commit 7ac91c6.
  • Loading branch information
raphlinus committed Oct 21, 2016
1 parent 7ac91c6 commit 8c06e14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/unix/notbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ s! {
pub ai_addrlen: socklen_t,

#[cfg(any(target_os = "linux",
target_os = "android",
target_os = "emscripten",
target_os = "fuchsia"))]
pub ai_addr: *mut ::sockaddr,

pub ai_canonname: *mut c_char,

#[cfg(target_os = "android")]
pub ai_addr: *mut ::sockaddr,

pub ai_next: *mut addrinfo,
}

Expand Down

0 comments on commit 8c06e14

Please sign in to comment.