From 4399d536cf37ec3e98a872980020647f2bcb6500 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Fri, 22 Sep 2017 17:01:36 -0600 Subject: * configure script and add check for HAVE_WCWIDTH by Stefan Haubenth. --- pith/charconv/utf8.c | 4 ++-- pith/pine.hlp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pith') diff --git a/pith/charconv/utf8.c b/pith/charconv/utf8.c index bdf84ecc..7e1ae456 100644 --- a/pith/charconv/utf8.c +++ b/pith/charconv/utf8.c @@ -92,7 +92,7 @@ wcellwidth(UCS ucs) return((w & U4W_ERROR) ? -1 : w); } } -#ifndef _WINDOWS +#if !defined(_WINDOWS) && HAVE_WCWIDTH else return(wcwidth((wchar_t) ucs)); #else @@ -104,7 +104,7 @@ wcellwidth(UCS ucs) int pith_ucs4width(UCS ucs) { -#ifndef _WINDOWS +#if !defined(_WINDOWS) && HAVE_WCWIDTH return wcwidth((wchar_t) ucs); #else return (ucs >= 0x2100) ? 2 : 1; diff --git a/pith/pine.hlp b/pith/pine.hlp index 273571d0..52b7dffa 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 216 2017-09-19 21:56:28 +Alpine Commit 217 2017-09-22 17:01:27 ============= h_news ================= -- cgit v1.2.3-70-g09d2