From 4fa6ff28d891bf75c69e822040e0c2d06660fd25 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Tue, 11 Jul 2006 20:14:55 +0000 Subject: [PATCH] One more thing: define _XOPEN_SOURCE_EXTENDED so ncurses (and others?) will include wide-character support. --- demos/testcurs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/demos/testcurs.c b/demos/testcurs.c index 6bbdece5..e45d8891 100644 --- a/demos/testcurs.c +++ b/demos/testcurs.c @@ -5,13 +5,17 @@ * wrs(5/28/93) -- modified to be consistent (perform identically) with * either PDCurses or under Unix System V, R4 * - * $Id: testcurs.c,v 1.51 2006/07/11 20:05:56 wmcbrine Exp $ + * $Id: testcurs.c,v 1.52 2006/07/11 20:14:55 wmcbrine Exp $ */ #ifdef PDCDEBUG # define CURSES_LIBRARY /* needed for the prototype of PDC_debug */ #endif +#ifndef _XOPEN_SOURCE_EXTENDED +# define _XOPEN_SOURCE_EXTENDED 1 +#endif + #include #include #include