From ccf8488a1e9bd65f354c1613dc504cf5a685e50e Mon Sep 17 00:00:00 2001 From: Gabriel Borrelli Date: Fri, 15 Nov 2024 14:31:50 +0100 Subject: [PATCH] Add missing pthread_key_t definition for Darwin --- lib/std/c.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/c.zig b/lib/std/c.zig index 94d2a3405a..e9961556fb 100644 --- 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, };