https://gitlab.synchro.net/main/sbbs/-/commit/e8f12ae5ea662c60c31d1dea
Modified Files:
src/syncterm/term.c
Log Message:
syncterm: guard SFTP UI calls in term.c with WITHOUT_DEUCESSH
term.c referenced sftp_browser_run, sftp_degraded_run,
sftp_queue_activity, and sftp_queue_screen_run unconditionally, but
their .c files (sftp_browser.c, sftp_degraded.c, sftp_queue.c, sftp_queue_screen.c) are gated behind NOT WITHOUT_DEUCESSH in CMakeLists.txt:319. When the MSVC builder auto-flips WITHOUT_DEUCESSH
ON (vendored Botan unavailable), the link fails with four LNK2019s.
Wrap the four call sites and the four sftp_*.h includes in
#ifndef WITHOUT_DEUCESSH, matching the pattern used in syncterm.c,
conn.c, and bbslist.c.
Co-Authored-By: Claude Opus 4.7 (1M context) <
[email protected]>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)