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>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net