Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-airoldie committed Nov 4, 2023
1 parent 13dde1e commit ec2eb1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Expand Up @@ -410,6 +410,7 @@ impl Build {
build.define("ZMQ_POLL_BASED_ON_POLL", "1");
build.define("_WIN32_WINNT", "0x0600"); // vista

#[cfg(windows)]
if windows::has_sockaddr_un() {
build.define("ZMQ_HAVE_STRUCT_SOCKADDR_UN", "1");
}
Expand Down

0 comments on commit ec2eb1b

Please sign in to comment.