Skip to content

Commit ccf8488

Browse files
GabeRealBalexrp
authored andcommitted
Add missing pthread_key_t definition for Darwin
1 parent bfcf18c commit ccf8488

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/std/c.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7028,6 +7028,7 @@ pub const pthread_attr_t = switch (native_os) {
70287028

70297029
pub const pthread_key_t = switch (native_os) {
70307030
.linux, .emscripten => c_uint,
7031+
.macos, .ios, .tvos, .watchos, .visionos => c_ulong,
70317032
.openbsd, .solaris, .illumos => c_int,
70327033
else => void,
70337034
};

0 commit comments

Comments
 (0)