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 <b-aazbsd@proton.me>
This commit is contained in:
b-aaz
2025-12-07 18:49:44 +00:00
committed by Enrico Weigelt
parent 2c9d6b38d1
commit d334e01e31

View File

@@ -101,12 +101,10 @@ void TimerInit(void);
*/
_X_EXPORT Bool TimerForce(OsTimerPtr);
#ifdef WIN32
#if defined(WIN32) && ! defined(__CYGWIN__)
#include <X11/Xwinsock.h>
#if ! defined(__CYGWIN__)
typedef _sigset_t sigset_t;
#endif
#undef CreateWindow