You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PDCursesMod/demos/ncurses_cfg.h

98 lines
2.4 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 PDCursesMod, and:
*
* "make ncurses_tests" to start.
* "make ncurses_clean" when you're done.
*
* Builds: bs gdc hanoi knight tclock ncurses (many others, see
* nctests.mif for the full list... many tests are still not built;
* many are not really relevant to PDCurses.)
*/
#define PDC_NCMOUSE
#define DATA_DIR "."
// #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 <curses.h>
#define HAVE_ALLOC_PAIR 1
#define HAVE_ASSUME_DEFAULT_COLORS 1
#define HAVE_CHGAT 1
#define HAVE_COLOR_CONTENT 1
#define HAVE_COPYWIN 1
#define HAVE_CURSES_VERSION 1
#define HAVE_DELSCREEN 1
#define HAVE_FORM_H 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_INIT_EXTENDED_COLOR 1
#define HAVE_LIBPANEL 1
#define HAVE_LIBFORM 1
#define HAVE_LIBMENU 1
#define HAVE_LOCALE_H 1
#define HAVE_MATH_H 1
#define HAVE_MATH_FUNCS 1
#define HAVE_MENU_H 1
#define HAVE_NAPMS 1
#define HAVE_NEWPAD 1
#define HAVE_PANEL_H 1
#define HAVE_PUTWIN 1
#define HAVE_RIPOFFLINE 1
#define HAVE_SCR_DUMP 1
#define HAVE_SLK_COLOR 1
#define HAVE_SLK_INIT 1
#define HAVE_STRSTR 1
#define HAVE_USE_DEFAULT_COLORS 1
#define HAVE_WINSDELLN 1
#define HAVE_WRESIZE 1
#define USE_STRING_HACKS 1
#define USE_LIBMENU 1
#define USE_LIBFORM 1
#ifdef PDC_WIDE
# define USE_WIDEC_SUPPORT 1
# define HAVE_WCSRTOMBS 1
# define HAVE_WCTYPE_H 1
# define HAVE_MBSRTOWCS 1
# define HAVE_MBRTOWC 1
# define HAVE_MBRLEN 1
# define wcwidth PDC_wcwidth
PDCEX int PDC_wcwidth( const int32_t ucs);
# define NCURSES_CH_T cchar_t
#else
# define NCURSES_CH_T chtype
#endif
/* Fool ncurses.c so it gives us all the tests, and doesn't redefine
ACS_ chars
*/
#ifdef __GNUC__
#define GCC_UNUSED __attribute__((unused))
#define GCC_NORETURN __attribute__((noreturn))
#define GCC_DEPRECATED(msg) __attribute__((deprecated))
#else
#define GCC_UNUSED
#define GCC_NORETURN
#define GCC_DEPRECATED(msg)
#endif
#define NCURSES_VERSION PDCURSES
#include <ncurses_dll.h>
char *tigetstr( const char *capname);