/*
* Author: Thomas E. Dickey
*
- * $Id: demo_terminfo.c,v 1.5 2009/07/11 17:39:41 tom Exp $
+ * $Id: demo_terminfo.c,v 1.6 2009/07/17 01:02:08 tom Exp $
*
* A simple demo of the terminfo interface.
*/
#endif
#endif
+#if defined(HAVE_CURSES_DATA_BOOLNAMES) || defined(DECL_CURSES_DATA_BOOLNAMES)
+
static bool b_opt = FALSE;
static bool f_opt = FALSE;
static bool n_opt = FALSE;
ExitProgram(EXIT_SUCCESS);
}
+
+#else
+int
+main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
+{
+ printf("This program requires the terminfo arrays\n");
+ ExitProgram(EXIT_FAILURE);
+}
+#endif