* key_nt.c: Don't use ERR - it conflicts with sys/ucontext.h

in glibc 2.1.3.
This commit is contained in:
Pavel Roskin 2002-11-06 06:09:21 +00:00
parent df9b2f4c5c
commit 7f250dafa3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-11-06 Pavel Roskin <proski@gnu.org>
* key_nt.c: Don't use ERR - it conflicts with sys/ucontext.h
in glibc 2.1.3.
2002-09-02 Pavel Roskin <proski@gnu.org>
* chmod.c: Eliminate x_set_dialog_title().

View File

@ -228,7 +228,7 @@ static int getch_with_delay (void)
while (1) {
/* Try to get a character */
c = get_key_code (0);
if (c != ERR)
if (c != -1)
break;
}
/* Success -> return the character */