* key.c (get_modifier): Recognize keyboard modifiers on Cygwin.

This commit is contained in:
Andrew V. Samoilov 2004-09-14 17:18:25 +00:00
parent e3698948a4
commit ee2e35afb4
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-09-14 Pavel Tsekov <ptsekov@gmx.net>
* key.c (get_modifier): Recognize keyboard modifiers on Cygwin.
2004-09-12 Pavel Shirshov <pavelsh@mail.ru>
* execute.c (toggle_panels): Fix error. show_output_starts_shell=1

View File

@ -59,6 +59,11 @@
# include <sys/ioctl.h>
#endif /* __linux__ */
#ifdef __CYGWIN__
# include <termios.h>
# include <sys/ioctl.h>
#endif /* __CYGWIN__ */
#ifdef __QNXNTO__
# include <dlfcn.h>
# include <Ph.h>
@ -1276,7 +1281,7 @@ get_modifier (void)
result |= KEY_M_SHIFT;
}
#endif /* __QNXNTO__ */
#ifdef __linux__
#if defined __linux__ || (defined __CYGWIN__ && defined TIOCLINUX)
{
unsigned char modifiers = 6;