X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fcurses.priv.h;fp=ncurses%2Fcurses.priv.h;h=e7af5822fcdd309370ebd60c065bf861e452d682;hp=fb5e548bbff55588d38ff9670561ce209a3ab842;hb=88e7914acafc37f84af25b80f403eb4290e423d4;hpb=b3969973c9f5be7f45107ac2992bf4909b8541bc diff --git a/ncurses/curses.priv.h b/ncurses/curses.priv.h index fb5e548b..e7af5822 100644 --- a/ncurses/curses.priv.h +++ b/ncurses/curses.priv.h @@ -34,7 +34,7 @@ ****************************************************************************/ /* - * $Id: curses.priv.h,v 1.620 2019/03/30 21:31:37 tom Exp $ + * $Id: curses.priv.h,v 1.621 2019/05/04 20:29:09 tom Exp $ * * curses.priv.h * @@ -2038,6 +2038,12 @@ extern NCURSES_EXPORT(void) _nc_expanded (void); ttytype[NAMESIZE - 1] = '\0'; \ } +#if !NCURSES_WCWIDTH_GRAPHICS +extern NCURSES_EXPORT(int) _nc_wacs_width(unsigned); +#else +#define _nc_wacs_width(ch) wcwidth(ch) +#endif + /* charable.c */ #if USE_WIDEC_SUPPORT extern NCURSES_EXPORT(bool) _nc_is_charable(wchar_t);