| ... | @@ -168,6 +168,7 @@ pub fn relocateContext(context: *ThreadContext) void { | ... | @@ -168,6 +168,7 @@ pub fn relocateContext(context: *ThreadContext) void { |
| 168 | } | 168 | } |
| 169 | | 169 | |
| 170 | pub const have_getcontext = @hasDecl(os.system, "getcontext") and | 170 | pub const have_getcontext = @hasDecl(os.system, "getcontext") and |
| | 171 | builtin.os.tag != .openbsd and |
| 171 | (builtin.os.tag != .linux or switch (builtin.cpu.arch) { | 172 | (builtin.os.tag != .linux or switch (builtin.cpu.arch) { |
| 172 | .x86, | 173 | .x86, |
| 173 | .x86_64, | 174 | .x86_64, |