We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d647801 commit e55a573Copy full SHA for e55a573
lib/std/c.zig
@@ -10818,8 +10818,8 @@ pub const LC = enum(c_int) {
10818
10819
pub extern "c" fn setlocale(category: LC, locale: ?[*:0]const u8) ?[*:0]const u8;
10820
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
+pub const getcontext = if (builtin.target.abi.isAndroid() or builtin.target.os.tag == .openbsd or builtin.target.os.tag == .haiku)
+{} // libc does not implement getcontext
10823
else if (native_os == .linux and builtin.target.abi.isMusl())
10824
linux.getcontext
10825
else
0 commit comments