| ... | @@ -237,8 +237,8 @@ pub fn relocateContext(context: *ThreadContext) void { | ... | @@ -237,8 +237,8 @@ pub fn relocateContext(context: *ThreadContext) void { |
| 237 | }; | 237 | }; |
| 238 | } | 238 | } |
| 239 | | 239 | |
| 240 | pub const have_getcontext = @hasDecl(posix.system, "getcontext") and | 240 | pub const have_getcontext = native_os != .openbsd and native_os != .haiku and |
| 241 | native_os != .openbsd and native_os != .haiku and | 241 | !builtin.target.isAndroid() and |
| 242 | (native_os != .linux or switch (builtin.cpu.arch) { | 242 | (native_os != .linux or switch (builtin.cpu.arch) { |
| 243 | .x86, | 243 | .x86, |
| 244 | .x86_64, | 244 | .x86_64, |