Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 1 | /* $Id: ncurses_cfg.h,v 1.8 2006/12/28 01:02:03 wmcbrine Exp $ |
| 2 | * |
| 3 | * This file is only used with the ncurses test programs. |
| 4 | * |
Stefan Reinauer | e11835e | 2011-10-31 12:54:00 -0700 | [diff] [blame] | 5 | * Have ncurses-5.6 unpacked in your $(HOME) (you don't need to build |
| 6 | * it), or edit ncurses_testdir appropriately in the Makefile. Configure |
| 7 | * and build PDCurses for X11. (Sorry, other ports won't work yet.) |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 8 | * Change to this directory, and: |
| 9 | * |
| 10 | * "make ncurses_tests" to start. |
| 11 | * "make ncurses_clean" when you're done. |
| 12 | * |
| 13 | * Builds: bs gdc hanoi knight tclock ncurses |
| 14 | */ |
| 15 | |
| 16 | #define NCURSES_MOUSE_VERSION 2 |
| 17 | |
| 18 | #include "../config.h" |
| 19 | #include <curses.h> |
| 20 | |
| 21 | #define ExitProgram exit |
| 22 | |
| 23 | #define HAVE_CURSES_VERSION 1 |
| 24 | #define HAVE_GETBEGX 1 |
| 25 | #define HAVE_GETCURX 1 |
| 26 | #define HAVE_GETMAXX 1 |
| 27 | #define HAVE_GETNSTR 1 |
| 28 | #define HAVE_GETTIMEOFDAY 1 |
| 29 | #define HAVE_GETWIN 1 |
| 30 | #define HAVE_LIBPANEL 1 |
| 31 | #define HAVE_LOCALE_H 1 |
| 32 | #define HAVE_NAPMS 1 |
| 33 | #define HAVE_PANEL_H 1 |
| 34 | #define HAVE_PUTWIN 1 |
| 35 | #define HAVE_SLK_COLOR 1 |
| 36 | #define HAVE_SLK_INIT 1 |
| 37 | #define HAVE_WRESIZE 1 |
| 38 | |
| 39 | #ifdef PDC_WIDE |
| 40 | # define USE_WIDEC_SUPPORT 1 |
| 41 | #endif |
| 42 | |
Stefan Reinauer | e11835e | 2011-10-31 12:54:00 -0700 | [diff] [blame] | 43 | /* Fool ncurses.c so it gives us all the tests, and doesn't redefine |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 44 | ACS_ chars |
| 45 | */ |
| 46 | |
| 47 | #define NCURSES_VERSION PDCURSES |