Enable wide character support in libdialog.

This commit is contained in:
nwhitehorn 2011-02-05 16:23:32 +00:00
parent fd821d9b47
commit 19d8742e12
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ SRCS= arrows.c buttons.c calendar.c checklist.c columns.c dlg_keys.c \
INCS= dialog.h dlg_colors.h dlg_config.h dlg_keys.h
MAN= dialog.3
CFLAGS+= -I${.CURDIR} -I${DIALOG}
CFLAGS+= -I${.CURDIR} -I${DIALOG} -D_XOPEN_SOURCE_EXTENDED
.PATH: ${DIALOG}
WARNS?= 3

View File

@ -5,12 +5,10 @@
* $FreeBSD$
*/
#define DIALOG_PATCHDATE 20100428
#define DIALOG_VERSION "1.1"
#define HAVE_ALLOCA 1
#define HAVE_COLOR 1
#define HAVE_CURSES_H 1
#define HAVE_DIRENT_H 1
#define HAVE_DLG_FORMBOX 1
#define HAVE_DLG_GAUGE 1
@ -41,6 +39,7 @@
#define HAVE_INTTYPES_H 1
#define HAVE_LANGINFO_CODESET 1
#define HAVE_LC_MESSAGES 1
#define HAVE_LIBNCURSESW 1
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_MBSTATE_T 1
@ -89,3 +88,4 @@
#define SYSTEM_NAME "freebsd9.0"
#define TIME_WITH_SYS_TIME 1
#define TYPE_CHTYPE_IS_SCALAR 1
#define USE_WIDE_CURSES 1