mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.c.openbsd: add PTHREAD_STACK_MIN
@semarie audited this definition.
This commit is contained in:
parent
b1bde35651
commit
479fd2f721
@ -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,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user