diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-07-25 15:09:31 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-07-25 15:09:31 +0000 |
commit | fd8be987f8334e9530be6ca571c54695892aa871 (patch) | |
tree | 60327bf0cf90e57934fbcaf6ff8cee1b5e882083 /readline/rldefs.h | |
parent | 7ef34f2cde1d446fb7ce7d2151446a7ac38aeabd (diff) | |
download | gdb-fd8be987f8334e9530be6ca571c54695892aa871.zip gdb-fd8be987f8334e9530be6ca571c54695892aa871.tar.gz gdb-fd8be987f8334e9530be6ca571c54695892aa871.tar.bz2 |
* input.c (rl_getc): Use getch to read console input on
Windows.
* readline.c (bind_arrow_keys_internal): Translate
Windows keysequences into POSIX key sequences.
* rldefs.h (NO_TTY_DRIVER): Define on MinGW.
* rltty.c: Conditionalize on NO_TTY_DRIVER throughout.
Diffstat (limited to 'readline/rldefs.h')
-rw-r--r-- | readline/rldefs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/readline/rldefs.h b/readline/rldefs.h index 4a28bd1..b80db8c 100644 --- a/readline/rldefs.h +++ b/readline/rldefs.h @@ -32,7 +32,9 @@ #include "rlstdc.h" -#if defined (_POSIX_VERSION) && !defined (TERMIOS_MISSING) +#if defined (__MINGW32__) +# define NO_TTY_DRIVER +#elif defined (_POSIX_VERSION) && !defined (TERMIOS_MISSING) # define TERMIOS_TTY_DRIVER #else # if defined (HAVE_TERMIO_H) |