iw4x-client/deps/pdcurses/demos/ncurses_cfg.h
2024-03-07 05:13:50 -05:00

66 lines
1.5 KiB
C

/* This file is only used with the ncurses test programs.
*
* Have ncurses-6.4 unpacked in your $(HOME) (you don't need to build
* it), or edit ncurses_testdir appropriately in the Makefile or
* nctests.mif. Configure and build PDCurses, and:
*
* "make ncurses_tests" to start.
* "make ncurses_clean" when you're done.
*
* Builds: bs gdc hanoi knight tclock ncurses
*/
#define PDC_NCMOUSE
#define DATA_DIR "."
#define NCURSES_CONST
#define NCURSES_EXPORT(foo) foo
#define popup_msg(bar, baz)
#define RETSIGTYPE void
#define TIME_WITH_SYS_TIME 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TIME_SELECT 1
#define HAVE_UNISTD_H 1
#define HAVE_TERMATTRS 1
#include <curspriv.h>
#define ExitProgram exit
#define HAVE_ASSUME_DEFAULT_COLORS 1
#define HAVE_CURSES_VERSION 1
#define HAVE_GETBEGX 1
#define HAVE_GETCURX 1
#define HAVE_GETMAXX 1
#define HAVE_GETNSTR 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETWIN 1
#define HAVE_HALFDELAY 1
#define HAVE_LIBPANEL 1
#define HAVE_LOCALE_H 1
#define HAVE_MATH_H 1
#define HAVE_NAPMS 1
#define HAVE_NEWPAD 1
#define HAVE_PANEL_H 1
#define HAVE_PUTWIN 1
#define HAVE_SLK_COLOR 1
#define HAVE_SLK_INIT 1
#define HAVE_STRSTR 1
#define HAVE_USE_DEFAULT_COLORS 1
#define HAVE_WRESIZE 1
#define USE_STRING_HACKS 1
#ifdef PDC_WIDE
# define USE_WIDEC_SUPPORT 1
# define HAVE_WCSRTOMBS 1
# define HAVE_MBSRTOWCS 1
# define HAVE_MBRTOWC 1
# define HAVE_MBRLEN 1
#endif
/* Fool ncurses.c so it gives us all the tests, and doesn't redefine
ACS_ chars
*/
#define NCURSES_VERSION PDCURSES