Wrap keymap menu helper functions in #ifdef WITH_SYSCONS to unbreak the
build on archs that don't include syscons support in sysinstall. Reported by: sparc64 tinderbox
This commit is contained in:
parent
ba526146e7
commit
8898b46b1a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156160
@ -50,6 +50,7 @@ struct keymapInfo {
|
||||
* the language name only.
|
||||
*/
|
||||
|
||||
#ifdef WITH_SYSCONS
|
||||
static int
|
||||
keymapSetDefault(const char *prefix)
|
||||
{
|
||||
@ -113,6 +114,7 @@ keymapMenuSelect(dialogMenuItem *self)
|
||||
return dmenuOpenSimple(&MenuSysconsKeymap, FALSE) ? DITEM_SUCCESS :
|
||||
DITEM_FAILURE;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Return values:
|
||||
|
@ -50,6 +50,7 @@ struct keymapInfo {
|
||||
* the language name only.
|
||||
*/
|
||||
|
||||
#ifdef WITH_SYSCONS
|
||||
static int
|
||||
keymapSetDefault(const char *prefix)
|
||||
{
|
||||
@ -113,6 +114,7 @@ keymapMenuSelect(dialogMenuItem *self)
|
||||
return dmenuOpenSimple(&MenuSysconsKeymap, FALSE) ? DITEM_SUCCESS :
|
||||
DITEM_FAILURE;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Return values:
|
||||
|
Loading…
Reference in New Issue
Block a user