* 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:
parent
3bfa763c48
commit
dfd39dbdea
3 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue