Sebastiaan Couwenberg <sebas...@xs4all.nl> writes:

> Adding " || defined(__FreeBSD_kernel__)" to the #elif statements in
> kpty.cpp should be sufficient to not need the CMakeLists.txt changes.

Indeed, that approach (my initial suggestion in #798053) also works, Alf
Gaida's opening comment in https://github.com/lxde/qtermwidget/issues/50
notwithstanding.  For that matter, so does simply testing whether
TIOCGETA and TIOCSETA are defined -- although they're not technically
required to be macros, they are in practice.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to