win32: move definition of sigset_t to os/osdep.h
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / xserver-build-dragonflybsd (push) Waiting to run
Build X servers / Release pushed tag (push) Blocked by required conditions
check PRs for merge conflicts / notify (push) Waiting to run
delete old workflow runs / delete_old_workflow_runs (push) Waiting to run
delete old workflow runs / purge_deleted_branch_workflows (push) Waiting to run

Not needed by drivers (there aren't any on win32), so no need to
have it in public SDK header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-09-23 18:16:48 +02:00 • committed by Enrico Weigelt
commit b306691c2d
2 changed files with 3 additions and 6 deletions

View file

@ -276,12 +276,6 @@ _X_ATTRIBUTE_PRINTF(1, 2);
extern _X_EXPORT void
xorg_backtrace(void);
#include <signal.h>
#if defined(WIN32)
typedef _sigset_t sigset_t;
#endif
/* should not be used anymore, just for backwards compat with drivers */
#define LogVMessageVerbSigSafe(...) LogVMessageVerb(__VA_ARGS__)
#define LogMessageVerbSigSafe(...) LogMessageVerb(__VA_ARGS__)

View file

@ -137,6 +137,9 @@ _X_EXPORT Bool TimerForce(OsTimerPtr);
#ifdef WIN32
#include <X11/Xwinsock.h>
#include <signal.h>
typedef _sigset_t sigset_t;
#undef CreateWindow