Re: DOS/Windows-specific code: terminal.h

Christopher Faylor
2001-05-08T11:18:00Z

On Tue, May 08, 2001 at 02:50:43PM +0300, Eli Zaretskii wrote:
>
> * terminal.h:
>
> #if !defined(_WIN32) && !defined (HAVE_TERMIOS)
>
> /* Define a common set of macros -- BSD based -- and redefine whatever
> the system offers to make it look like that. FIXME: serial.h and
> ser-*.c deal with this in a much cleaner fashion; as soon as stuff
> is converted to use them, can get rid of this crap. */
>
> #ifdef HAVE_TERMIO
>
>Do _WIN32 platforms define HAVE_TERMIO or HAVE_TERMIOS? If not,
>testing for _WIN32 is redundant, I think.

Yes. I agree.

cgf