| ... | @@ -11069,6 +11069,10 @@ pub const pthread_cancelstate = switch (native_os) { | ... | @@ -11069,6 +11069,10 @@ pub const pthread_cancelstate = switch (native_os) { |
| 11069 | ENABLE = 0, | 11069 | ENABLE = 0, |
| 11070 | DISABLE = 1, | 11070 | DISABLE = 1, |
| 11071 | }, | 11071 | }, |
| | 11072 | .serenity => enum(c_int) { |
| | 11073 | ENABLE = 1, |
| | 11074 | DISABLE = 2, |
| | 11075 | }, |
| 11072 | else => void, | 11076 | else => void, |
| 11073 | }; | 11077 | }; |
| 11074 | pub extern "c" fn pthread_setcancelstate(pthread_cancelstate, ?*pthread_cancelstate) E; | 11078 | pub extern "c" fn pthread_setcancelstate(pthread_cancelstate, ?*pthread_cancelstate) E; |