• src/xpdev/xpevent.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Aug 23 02:30:27 2026
    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) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net