On Wed, 23 Jul 2003, Stepan Kasal wrote:

> Hello,
>       a problem related to detection of multibyte support was
> raised by a bug report to gawk, the thread is archived at:
> http://mail.gnu.org/archive/html/bug-gnu-utils/2003-07/msg00361.html
>
> HP-UX 11.11 with GCC doesn't define mbstate_t in wchar.h, even though
> functions mbrlen and mbrtowc are available.
>
> It seems that wchar.h would include <sys/_mbstate_t.h>, if
> _INCLUDE__STDC_A1_SOURCE were defined.
> But defining this symbol breaks something else in the gawk source tree.

Defining _XOPEN_SOURCE=500 works, though.

-- 
T.E.Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net


Reply via email to