Avoid importing POSIX errno values that are absent from supported Windows CRTs, including Borland C++Builder 6. Preserve the legacy sem_getvalue and wait-error behavior until the API-removal pass.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
From Deucе@VERT to Git commit to main/sbbs/master on Mon Sep 7 00:26:16 2026
Use ERANGE and EINVAL fallbacks when EOVERFLOW and ENOSYS are unavailable, preserving precise errno values on CRTs that provide them. Keep sem_getvalue intact for the conservative CI pass.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net