Commit 479fd2f721

Andrew Kelley <andrew@ziglang.org>
2023-07-31 20:54:27
std.c.openbsd: add PTHREAD_STACK_MIN
@semarie audited this definition.
1 parent b1bde35
Changed files (1)
lib
lib/std/c/openbsd.zig
@@ -1635,3 +1635,9 @@ pub const HW = struct {
     pub const NCPUONLINE = 25;
     pub const POWER = 26;
 };
+
+pub const PTHREAD_STACK_MIN = switch (builtin.cpu.arch) {
+    .sparc64 => 1 << 13,
+    .mips64 => 1 << 14,
+    else => 1 << 12,
+};