mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* key_nt.c: Don't use ERR - it conflicts with sys/ucontext.h
in glibc 2.1.3.
This commit is contained in:
parent
df9b2f4c5c
commit
7f250dafa3
@ -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().
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user