aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/debug.zig')
-rw-r--r--lib/std/debug.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig
index f4bd232a69..824adc0261 100644
--- a/lib/std/debug.zig
+++ b/lib/std/debug.zig
@@ -229,7 +229,7 @@ pub fn relocateContext(context: *ThreadContext) void {
}
pub const have_getcontext = @hasDecl(posix.system, "getcontext") and
- native_os != .openbsd and
+ native_os != .openbsd and native_os != .haiku and
(native_os != .linux or switch (builtin.cpu.arch) {
.x86,
.x86_64,