Rename sigaction duplicate type to sigaction_t on linux, following other platforms.

This commit is contained in:
Isaac Andrade
2024-09-21 20:56:52 -06:00
parent 10702f1134
commit 5162c6c506
+3 -1
View File
@@ -1172,7 +1172,9 @@ when ODIN_OS == .Darwin {
SIGPOLL :: 29
SIGSYS :: 31
sigaction :: struct {
// NOTE: this is actually defined as `sigaction`, but due to the function with the same name
// `_t` has been added.
sigaction_t :: struct {
sa_handler: proc "c" (Signal),
sa_flags: SA_Flags,
sa_mask: sigset_t,