| ... | @@ -4682,14 +4682,6 @@ pub const siginfo_t = switch (native_os) { | ... | @@ -4682,14 +4682,6 @@ pub const siginfo_t = switch (native_os) { |
| 4682 | }, | 4682 | }, |
| 4683 | __pad: [128 - 3 * @sizeOf(c_int)]u8, | 4683 | __pad: [128 - 3 * @sizeOf(c_int)]u8, |
| 4684 | }, | 4684 | }, |
| 4685 | | | |
| 4686 | comptime { | | |
| 4687 | if (@sizeOf(usize) == 4) | | |
| 4688 | assert(@sizeOf(@This()) == 128) | | |
| 4689 | else | | |
| 4690 | // Take into account the padding between errno and data fields. | | |
| 4691 | assert(@sizeOf(@This()) == 136); | | |
| 4692 | } | | |
| 4693 | }, | 4685 | }, |
| 4694 | // https://github.com/SerenityOS/serenity/blob/ec492a1a0819e6239ea44156825c4ee7234ca3db/Kernel/API/POSIX/signal.h#L27-L37 | 4686 | // https://github.com/SerenityOS/serenity/blob/ec492a1a0819e6239ea44156825c4ee7234ca3db/Kernel/API/POSIX/signal.h#L27-L37 |
| 4695 | .serenity => extern struct { | 4687 | .serenity => extern struct { |