Mercurial > hg > octave-nkf > gnulib-hg
diff lib/wchar.in.h @ 12620:c2fcdc831f5b
wchar: Fix compilation error when <wchar.h> is used from coreutils.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 10 Jan 2010 12:54:38 +0100 (2010-01-10) |
parents | c2cbabec01dd |
children | 2c14f1e449e5 |
line wrap: on
line diff
--- a/lib/wchar.in.h +++ b/lib/wchar.in.h @@ -30,9 +30,9 @@ @PRAGMA_SYSTEM_HEADER@ #endif -#if defined __need_mbstate_t || (defined __hpux && ((defined _INTTYPES_INCLUDED && !defined strtoimax) || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) || defined _GL_ALREADY_INCLUDING_WCHAR_H +#if defined __need_mbstate_t || defined __need_wint_t || (defined __hpux && ((defined _INTTYPES_INCLUDED && !defined strtoimax) || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) || defined _GL_ALREADY_INCLUDING_WCHAR_H /* Special invocation convention: - - Inside uClibc header files. + - Inside glibc and uClibc header files. - On HP-UX 11.00 we have a sequence of nested includes <wchar.h> -> <stdlib.h> -> <stdint.h>, and the latter includes <wchar.h>, once indirectly <stdint.h> -> <sys/types.h> -> <inttypes.h> -> <wchar.h>