aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/curses.priv.h
diff options
context:
space:
mode:
authorPatrick Georgi <Patrick.Georgi@secunet.com>2011-03-10 14:53:54 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2011-07-07 22:30:05 +0200
commit559290836b71462c5150963dbdfa33727500b710 (patch)
treeaebe3820281fff6ea8385002c4b909163481571e /payloads/libpayload/include/curses.priv.h
parentc3c827cf864b10d5086177602f0157b9596bc380 (diff)
libpayload: Don't declare mouse support in tinycurses
Change-Id: Id1ff3d85617e3ec063ce332cf13920dfbbb7cf26 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/87 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/include/curses.priv.h')
-rw-r--r--payloads/libpayload/include/curses.priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/curses.priv.h b/payloads/libpayload/include/curses.priv.h
index 594b4da125..78b7ff3cc9 100644
--- a/payloads/libpayload/include/curses.priv.h
+++ b/payloads/libpayload/include/curses.priv.h
@@ -514,6 +514,7 @@ struct screen {
#define _nc_idlok SP->_nc_sp_idlok
#define _nc_idcok SP->_nc_sp_idcok
+#ifdef NCURSES_MOUSE_VERSION
/*
* These are the data that support the mouse interface.
*/
@@ -531,6 +532,7 @@ struct screen {
NCURSES_CONST char *_mouse_xtermcap; /* string to enable/disable mouse */
MEVENT _mouse_events[EV_MAX]; /* hold the last mouse event seen */
MEVENT *_mouse_eventp; /* next free slot in event queue */
+#endif
#if USE_GPM_SUPPORT
bool _mouse_gpm_loaded;