Commit ccf8488a1e

Gabriel Borrelli <borrelli.gabriel.pr@gmail.com>
2024-11-15 14:31:50
Add missing pthread_key_t definition for Darwin
1 parent bfcf18c
Changed files (1)
lib
std
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,
 };