From d334e01e31da3036a21bdf32da3280f371b3fe61 Mon Sep 17 00:00:00 2001 From: b-aaz <85005689+b-aaz@users.noreply.github.com> Date: Sun, 7 Dec 2025 18:49:44 +0000 Subject: [PATCH] os: osdep: Disabled a section on Cygwin that was redundant. The section does some mappings between POSIX and windows APIs that are already handled by Cygwin. This caused build errors on Cygwin due to redefinition of things like the sigset_t struct. Signed-off-by: b-aaz --- os/osdep.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/os/osdep.h b/os/osdep.h index 757f3484ec..431492e791 100644 --- a/os/osdep.h +++ b/os/osdep.h @@ -101,12 +101,10 @@ void TimerInit(void); */ _X_EXPORT Bool TimerForce(OsTimerPtr); -#ifdef WIN32 +#if defined(WIN32) && ! defined(__CYGWIN__) #include -#if ! defined(__CYGWIN__) typedef _sigset_t sigset_t; -#endif #undef CreateWindow