diff --git a/lib/std/c.zig b/lib/std/c.zig index bcfbccccd44f9ed131c91ad36e1cf7e5d60de4a2..b4e29e664b4fd0ba8c04df55677c97d9470378fb 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -11069,6 +11069,10 @@ pub const pthread_cancelstate = switch (native_os) { ENABLE = 0, DISABLE = 1, }, + .serenity => enum(c_int) { + ENABLE = 1, + DISABLE = 2, + }, else => void, }; pub extern "c" fn pthread_setcancelstate(pthread_cancelstate, ?*pthread_cancelstate) E;