| ... | @@ -3373,6 +3373,19 @@ pub const Sigaction = switch (native_os) { | ... | @@ -3373,6 +3373,19 @@ pub const Sigaction = switch (native_os) { |
| 3373 | restorer: ?*const fn () callconv(.c) void = null, | 3373 | restorer: ?*const fn () callconv(.c) void = null, |
| 3374 | mask: sigset_t, | 3374 | mask: sigset_t, |
| 3375 | } else common_linux_Sigaction, | 3375 | } else common_linux_Sigaction, |
| | 3376 | .sparc64 => if (builtin.abi == .gnu) extern struct { |
| | 3377 | pub const handler_fn = *align(1) const fn (SIG) callconv(.c) void; |
| | 3378 | pub const sigaction_fn = *const fn (SIG, *const siginfo_t, ?*anyopaque) callconv(.c) void; |
| | 3379 | |
| | 3380 | handler: extern union { |
| | 3381 | handler: ?handler_fn, |
| | 3382 | sigaction: ?sigaction_fn, |
| | 3383 | }, |
| | 3384 | mask: sigset_t, |
| | 3385 | __glibc_reserved0: c_int = 0, |
| | 3386 | flags: c_uint, |
| | 3387 | restorer: ?*const fn () callconv(.c) void = null, |
| | 3388 | } else common_linux_Sigaction, |
| 3376 | else => common_linux_Sigaction, | 3389 | else => common_linux_Sigaction, |
| 3377 | }, | 3390 | }, |
| 3378 | .emscripten => emscripten.Sigaction, | 3391 | .emscripten => emscripten.Sigaction, |