From 5162c6c506be74fcd8f7e09e7bb51106e03b24a3 Mon Sep 17 00:00:00 2001 From: Isaac Andrade Date: Sat, 21 Sep 2024 20:56:52 -0600 Subject: [PATCH] Rename sigaction duplicate type to sigaction_t on linux, following other platforms. --- core/sys/posix/signal.odin | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/sys/posix/signal.odin b/core/sys/posix/signal.odin index 7cb4f4c43..8edaad5ba 100644 --- a/core/sys/posix/signal.odin +++ b/core/sys/posix/signal.odin @@ -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,