It seems our crazy widechar.h is in conflict with ncurses, but it
seems that nothing in more.c requires anything from ncurses. All we
need is probably <term.h>.
Signed-off-by: Karel Zak <kzak@redhat.com>
} context, screen_start;
extern char PC; /* pad character */
-#ifdef HAVE_NCURSES_H
-# include <ncurses.h>
-#elif defined(HAVE_NCURSES_NCURSES_H)
-# include <ncurses/ncurses.h>
-#endif
#include <term.h> /* include after <curses.h> */
#define TERM_AUTO_RIGHT_MARGIN "am"
}
+#ifdef HAVE_WIDECHAR
static UL_ASAN_BLACKLIST size_t xmbrtowc(wchar_t *wc, const char *s, size_t n,
mbstate_t *mbstate)
{
return 1;
return mblength;
}
+#endif
/* Print a buffer of n characters */
void prbuf(register char *s, register int n)