Skip to content

Commit 9bef28c

Browse files
mfelschemw
andauthored
Add support for freebsd (#36)
Co-authored-by: mw <[email protected]>
1 parent 392294d commit 9bef28c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ impl Build {
416416
if target.contains("musl") {
417417
has_strlcpy = true;
418418
}
419-
} else if target.contains("apple") {
419+
} else if target.contains("apple") || target.contains("freebsd") {
420420
create_platform_hpp_shim(&mut build);
421421
build.define("ZMQ_IOTHREAD_POLLER_USE_KQUEUE", "1");
422422
build.define("ZMQ_POLL_BASED_ON_POLL", "1");

0 commit comments

Comments
 (0)