]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/demo_terminfo.c
ncurses 5.9 - patch 20130907
[ncurses.git] / test / demo_terminfo.c
index cc0fae900107648074d7b06b6ac3cc61d27d7883..aea3289891855f698514d9010229bce1038540dc 100644 (file)
 /*
  * Author: Thomas E. Dickey
  *
- * $Id: demo_terminfo.c,v 1.17 2013/06/08 16:52:47 tom Exp $
+ * $Id: demo_terminfo.c,v 1.18 2013/09/07 17:37:20 tom Exp $
  *
  * A simple demo of the terminfo interface.
  */
 #define USE_TINFO
 #include <test.priv.h>
 
-#ifdef NCURSES_VERSION
-#if !(defined(HAVE_TERM_ENTRY_H) && HAVE_TERM_ENTRY_H)
-#undef NCURSES_XNAMES
-#define NCURSES_XNAMES 0
-#endif
 #if NCURSES_XNAMES
 #include <term_entry.h>
 #endif
-#endif
 
 #if HAVE_TIGETSTR
 #if defined(HAVE_CURSES_DATA_BOOLNAMES) || defined(DECL_CURSES_DATA_BOOLNAMES)