diff --git a/pc/ChangeLog b/pc/ChangeLog index 2b135eb51..39cdb7ace 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-06 Pavel Roskin + + * key_nt.c: Don't use ERR - it conflicts with sys/ucontext.h + in glibc 2.1.3. + 2002-09-02 Pavel Roskin * chmod.c: Eliminate x_set_dialog_title(). diff --git a/pc/key_nt.c b/pc/key_nt.c index 50f4efea6..f1f251700 100644 --- a/pc/key_nt.c +++ b/pc/key_nt.c @@ -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 */