Skip to content

Commit e55a573

Browse files
committed
std.c: haiku does not have getcontext
1 parent d647801 commit e55a573

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/std/c.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10818,8 +10818,8 @@ pub const LC = enum(c_int) {
1081810818

1081910819
pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) ?[*:0]const u8;
1082010820

10821-
pub const getcontext = if (builtin.target.abi.isAndroid() or builtin.target.os.tag == .openbsd)
10822-
{} // android bionic and openbsd libc does not implement getcontext
10821+
pub const getcontext = if (builtin.target.abi.isAndroid() or builtin.target.os.tag == .openbsd or builtin.target.os.tag == .haiku)
10822+
{} // libc does not implement getcontext
1082310823
else if (native_os == .linux and builtin.target.abi.isMusl())
1082410824
linux.getcontext
1082510825
else

0 commit comments

Comments
 (0)