DOS/Windows-specific code: terminal.h

Christopher Faylor cgf@redhat.com
Tue May 8 11:18:00 GMT 2001


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



More information about the Gdb mailing list