build: allow building on freebsd
This commit is contained in:
parent
f230f0c30a
commit
790dbaae24
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ pub fn init() !Posix {
|
||||||
.mask = switch (builtin.os.tag) {
|
.mask = switch (builtin.os.tag) {
|
||||||
.macos => 0,
|
.macos => 0,
|
||||||
.linux => posix.empty_sigset,
|
.linux => posix.empty_sigset,
|
||||||
|
.freebsd => posix.empty_sigset,
|
||||||
else => @compileError("os not supported"),
|
else => @compileError("os not supported"),
|
||||||
},
|
},
|
||||||
.flags = 0,
|
.flags = 0,
|
||||||
|
|
Loading…
Reference in a new issue