• src/syncterm/syncterm.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Apr 25 04:52:26 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ed82082bbd196b30c4f880dd
    Modified Files:
    src/syncterm/syncterm.c
    Log Message:
    syncterm: runtime-init popup_q_mutex for Win32 portability

    PTHREAD_MUTEX_INITIALIZER isn't a constant expression under xpdev's
    Win32 pthread wrapper, so the static initializer broke the mingw64
    build. Initialize the mutex with pthread_mutex_init() at the top of
    main() before any thread that could post to the popup queue.

    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)