Add missing pthread_key_t definition for Darwin

This commit is contained in:
Gabriel Borrelli 2024-11-15 14:31:50 +01:00 committed by Alex Rønne Petersen
parent bfcf18c5a7
commit ccf8488a1e

View File

@ -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,
};