zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit ccf8488a1e9bd65f354c1613dc504cf5a685e50e (tree)
parent bfcf18c5a7d13d990c6bbda04d6a2cd37038a9ea
Author: Gabriel Borrelli <borrelli.gabriel.pr@gmail.com>
Date:   Fri, 15 Nov 2024 14:31:50 +0100

Add missing pthread_key_t definition for Darwin

Diffstat:
Mlib/std/c.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/std/c.zig b/lib/std/c.zig @@ -7028,6 +7028,7 @@ pub const pthread_attr_t = switch (native_os) { pub const pthread_key_t = switch (native_os) { .linux, .emscripten => c_uint, + .macos, .ios, .tvos, .watchos, .visionos => c_ulong, .openbsd, .solaris, .illumos => c_int, else => void, };