X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Flist_keys.c;h=b616919f4653c0a5b92bc7deb148b9aece0b249f;hb=HEAD;hp=96b02e14f355e29fcb448dc6ce003720a936dd0a;hpb=91494ab0071e71177728916199a406768f5ef963;p=ncurses.git diff --git a/test/list_keys.c b/test/list_keys.c index 96b02e14..b616919f 100644 --- a/test/list_keys.c +++ b/test/list_keys.c @@ -27,7 +27,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: list_keys.c,v 1.32 2023/06/24 13:57:11 tom Exp $ + * $Id: list_keys.c,v 1.33 2023/11/11 00:35:05 tom Exp $ * * Author: Thomas E Dickey * @@ -52,7 +52,10 @@ static bool f_opt = FALSE; static bool m_opt = FALSE; static bool t_opt = FALSE; + +#if NCURSES_XNAMES || HAVE_USE_EXTENDED_NAMES static bool x_opt = FALSE; +#endif typedef enum { ktCursor @@ -471,7 +474,7 @@ main(int argc, char *argv[]) case 't': t_opt = TRUE; break; -#ifdef NCURSES_VERSION +#if NCURSES_XNAMES || HAVE_USE_EXTENDED_NAMES case 'x': x_opt = TRUE; break;