Skip to content

Commit

Permalink
Add support for freebsd (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: mw <[email protected]>
  • Loading branch information
mfelsche and mw authored Jan 12, 2024
1 parent 392294d commit 9bef28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ impl Build {
if target.contains("musl") {
has_strlcpy = true;
}
} else if target.contains("apple") {
} else if target.contains("apple") || target.contains("freebsd") {
create_platform_hpp_shim(&mut build);
build.define("ZMQ_IOTHREAD_POLLER_USE_KQUEUE", "1");
build.define("ZMQ_POLL_BASED_ON_POLL", "1");
Expand Down

0 comments on commit 9bef28c

Please sign in to comment.