| ... | ... | @@ -808,7 +808,7 @@ comptime { |
| 808 | 808 | std.debug.assert(@sizeOf(siginfo_t) == 136); |
| 809 | 809 | } |
| 810 | 810 | |
| 811 | | pub usingnamespace switch (builtin.arch) { |
| 811 | pub usingnamespace switch (builtin.target.cpu.arch) { |
| 812 | 812 | .x86_64 => struct { |
| 813 | 813 | pub const ucontext_t = extern struct { |
| 814 | 814 | sc_rdi: c_long, |
| ... | ... | @@ -985,7 +985,7 @@ pub const EPROTO = 95; // Protocol error |
| 985 | 985 | |
| 986 | 986 | pub const ELAST = 95; // Must equal largest errno |
| 987 | 987 | |
| 988 | | const _MAX_PAGE_SHIFT = switch (builtin.arch) { |
| 988 | const _MAX_PAGE_SHIFT = switch (builtin.target.cpu.arch) { |
| 989 | 989 | .i386 => 12, |
| 990 | 990 | .sparcv9 => 13, |
| 991 | 991 | }; |