* grub-core/term/terminfo.c: Only fix up powerpc key repeat on

IEEE1275 machines.  Fixes powerpc-emu compilation.
* include/grub/terminfo.h: Likewise.
This commit is contained in:
Colin Watson 2012-09-14 11:23:36 +01:00
parent 3bfa763c48
commit dfd39dbdea
3 changed files with 10 additions and 4 deletions

View file

@ -32,7 +32,7 @@ struct grub_terminfo_input_state
{
int input_buf[GRUB_TERMINFO_READKEY_MAX_LEN];
int npending;
#ifdef __powerpc__
#if defined(__powerpc__) && defined(GRUB_MACHINE_IEEE1275)
int last_key;
grub_uint64_t last_key_time;
#endif