mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 19:32:23 -07:00
Rename sigaction duplicate type to sigaction_t on linux, following other platforms.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user