authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-12-13 20:36:34+01:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-12-13 20:36:34+01:00
logbb72b0e800518863f4bd7fc459fedb7f90d8e9e5
treed9b98d05e419c9f88371d76ab3652fef9e3ab6f6
parent97ba3d9a6604a4ac4a92891beb19ec5889bd15ac

Fix compilation error on FreeBSD


1 files changed, 3 insertions(+), 3 deletions(-)

lib/std/os/bits/freebsd.zig+3-3
...@@ -736,9 +736,9 @@ pub const winsize = extern struct {...@@ -736,9 +736,9 @@ pub const winsize = extern struct {
736736
737const NSIG = 32;737const NSIG = 32;
738738
739pub const SIG_ERR = @intToPtr(fn (i32) callconv(.C) void, maxInt(usize));739pub const SIG_ERR = @intToPtr(?Sigaction.sigaction_fn, maxInt(usize));
740pub const SIG_DFL = @intToPtr(fn (i32) callconv(.C) void, 0);740pub const SIG_DFL = @intToPtr(?Sigaction.sigaction_fn, 0);
741pub const SIG_IGN = @intToPtr(fn (i32) callconv(.C) void, 1);741pub const SIG_IGN = @intToPtr(?Sigaction.sigaction_fn, 1);
742742
743/// Renamed from `sigaction` to `Sigaction` to avoid conflict with the syscall.743/// Renamed from `sigaction` to `Sigaction` to avoid conflict with the syscall.
744pub const Sigaction = extern struct {744pub const Sigaction = extern struct {