We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
explicit_bzero
1 parent 0307af6 commit 3b254c3Copy full SHA for 3b254c3
build.zig
@@ -21,6 +21,10 @@ pub fn build(b: *Build) void {
21
.root = mbedtls_dep.path("library"),
22
.files = srcs,
23
});
24
+ if (target.result.os.tag == .freebsd) {
25
+ // Otherwise `explicit_bzero` cannot be found
26
+ mbedtls.root_module.addCMacro("__BSD_VISIBLE", "1");
27
+ }
28
29
mbedtls.installHeadersDirectory(mbedtls_dep.path("include/mbedtls"), "mbedtls", .{});
30
mbedtls.installHeadersDirectory(mbedtls_dep.path("include/psa"), "psa", .{});
0 commit comments