| ... | @@ -228,8 +228,8 @@ pub fn relocateContext(context: *ThreadContext) void { | ... | @@ -228,8 +228,8 @@ pub fn relocateContext(context: *ThreadContext) void { |
| 228 | }; | 228 | }; |
| 229 | } | 229 | } |
| 230 | | 230 | |
| 231 | pub const have_getcontext = @hasDecl(posix.system, "getcontext") and | 231 | pub const have_getcontext = native_os != .openbsd and native_os != .haiku and |
| 232 | native_os != .openbsd and native_os != .haiku and | 232 | !builtin.target.isAndroid() and |
| 233 | (native_os != .linux or switch (builtin.cpu.arch) { | 233 | (native_os != .linux or switch (builtin.cpu.arch) { |
| 234 | .x86, | 234 | .x86, |
| 235 | .x86_64, | 235 | .x86_64, |