mirror of
https://github.com/ziglang/zig.git
synced 2024-11-24 13:20:14 +00:00
Add missing pthread_key_t definition for Darwin
This commit is contained in:
parent
bfcf18c5a7
commit
ccf8488a1e
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user