From 0d568ac2197428cbf17a4d83574fa2ff22fd7e72 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 28 Jul 2007 22:55:17 +0100 Subject: Make has_key() a static inline, rather than omitting it altogether. --- src/include/curses.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') diff --git a/src/include/curses.h b/src/include/curses.h index 164dd2020..762a63b5a 100644 --- a/src/include/curses.h +++ b/src/include/curses.h @@ -566,6 +566,10 @@ static inline bool has_colors ( void ) { return TRUE; } +static inline int has_key ( int kc __unused ) { + return TRUE; +} + static inline int hline ( chtype ch, int n ) { return whline ( stdscr, ch, n ); } -- cgit v1.2.3-55-g7522