| ... | @@ -10552,6 +10552,7 @@ const sigrt_private = struct { | ... | @@ -10552,6 +10552,7 @@ const sigrt_private = struct { |
| 10552 | .freebsd => 65, | 10552 | .freebsd => 65, |
| 10553 | .netbsd => 33, | 10553 | .netbsd => 33, |
| 10554 | .illumos => @truncate(sysconf(@intFromEnum(_SC.SIGRT_MIN))), | 10554 | .illumos => @truncate(sysconf(@intFromEnum(_SC.SIGRT_MIN))), |
| | 10555 | .haiku => @truncate(@as(c_uint, @bitCast(private.__signal_get_sigrtmin()))), |
| 10555 | else => @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmin()))), | 10556 | else => @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmin()))), |
| 10556 | }; | 10557 | }; |
| 10557 | } | 10558 | } |
| ... | @@ -10561,6 +10562,7 @@ const sigrt_private = struct { | ... | @@ -10561,6 +10562,7 @@ const sigrt_private = struct { |
| 10561 | .freebsd => 126, | 10562 | .freebsd => 126, |
| 10562 | .netbsd => 63, | 10563 | .netbsd => 63, |
| 10563 | .illumos => @truncate(sysconf(@intFromEnum(_SC.SIGRT_MAX))), | 10564 | .illumos => @truncate(sysconf(@intFromEnum(_SC.SIGRT_MAX))), |
| | 10565 | .haiku => @truncate(@as(c_uint, @bitCast(private.__signal_get_sigrtmax()))), |
| 10564 | else => @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmax()))), | 10566 | else => @truncate(@as(c_uint, @bitCast(private.__libc_current_sigrtmax()))), |
| 10565 | }; | 10567 | }; |
| 10566 | } | 10568 | } |
| ... | @@ -11649,6 +11651,8 @@ const private = struct { | ... | @@ -11649,6 +11651,8 @@ const private = struct { |
| 11649 | | 11651 | |
| 11650 | extern "c" fn __libc_current_sigrtmin() c_int; | 11652 | extern "c" fn __libc_current_sigrtmin() c_int; |
| 11651 | extern "c" fn __libc_current_sigrtmax() c_int; | 11653 | extern "c" fn __libc_current_sigrtmax() c_int; |
| | 11654 | extern "c" fn __signal_get_sigrtmin() c_int; |
| | 11655 | extern "c" fn __signal_get_sigrtmax() c_int; |
| 11652 | | 11656 | |
| 11653 | // Don't forget to add another clown when an OS picks yet another unique | 11657 | // Don't forget to add another clown when an OS picks yet another unique |
| 11654 | // symbol name for errno location! | 11658 | // symbol name for errno location! |