Subj : src/xpdev/xpevent.c To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Sun Aug 23 2026 02:30:27 https://gitlab.synchro.net/main/sbbs/-/commit/e552638af90fca24752d53b3 Modified Files: src/xpdev/xpevent.c Log Message: xpdev: guard xpevent.c with #if defined(__unix__), like conwrap.c xpevent.c is the *nix emulation of the Win32 *Event API. On Windows eventwrap.h maps xpevent_t straight to a HANDLE and never includes xpevent.h, so compiling the file there fails: struct xpevent is undefined and CreateEvent/SetEvent/ResetEvent/CloseHandle are redefined. Neither xpdev vcxproj lists it, so no build in the tree ever noticed; a build that compiles every source in a directory does. Wrap the body the way conwrap.c has always been wrapped, that file being *nix-only and absent from the Windows projects for the same reason. Both toolchains can then compile the whole file set, so a build no longer needs a per-platform source list to avoid this one file. Co-Authored-By: Claude Opus 5 (1M context) --- SBBSecho 3.37-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .